iSQI
CSeT-F
Q1:
What is XPath?
○
A
An error in XML document, where beginnings and endings of two tags cross (eg, <b></b>), cross-path○
B
A test design method in which a test case traverses all crossing paths of an algorithm or activity diagram of use case○
C
A query language for selecting nodes from an XML document○
D
An element of Test Execution Layer that allows one to cross-reference different SUTs
iSQI
CSeT-F
Q2:
Consider the following test steps;

Which of the following function signatures is the best for keyword implementing test step number 1 ?
○
A
def login ():○
B
def login_with_admin_credentials () :○
C
def login(username, password) :○
D
def create_user (username, user_email, password)
iSQI
CSeT-F
Q3:
Which would be the best set of methods called by a Page Object that corresponds to the following dialog box?

○
A
log_in, cancel_log_in, remind_password○
B
log_in, cancel_log_in. clear_user, clear_password○
C
enter_login. enter_password, log_in, cancel○
D
push_button(button), enter__text(text). clickjink(link)
iSQI
CSeT-F
Q4:
In the web application you are testing, a button on a page can be enabled or disabled Given the following code

Which of the following wait convenience methods is the MOST appropriate to replace [convenience method] above to click on an enabled button?
○
A
visibility_of_element_located○
B
element_to_be_clickable○
C
invisibility_of_element located○
D
presence_of_element_located
iSQI
CSeT-F
Q5:
In the web application you are testing, you need to select each option in several dropdown menus. Which of the following is the BEST approach for making your test scripts maintainable?
○
A
Assign IDs for each dropdown and each option○
B
Create a function for clicking on a dropdown then clicking on the option○
C
Create unique tags for the elements○
D
Create keywords for the dropdowns and the options