Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam CSeT-F All Questions
Exam CSeT-F All Questions

View all questions & answers for the CSeT-F exam

iSQI A4Q Selenium Tester CSeT-F Question # 11 Topic 2 Discussion

CSeT-F Exam Topic 2 Question 11 Discussion:
Question #: 11
Topic #: 2

Your web application uses a framework that creates dialogs using templates such that "OK" and "Cancel" buttons are reused by multiple dialogs The dialogs are complicated, with many buttons and other elements. You are allowed to make changes to the source code to help in testing

Which of the following is the BEST approach for locating the Cancel button in one specific dialog?


A.

Add a unique class name to the button and locate it within a loaded dialog


B.

Add a unique ID to the button and locate it within a loaded dialog


C.

Use the absolute XPath for the button for the loaded dialog


D.

Use the link text for the button to locate it within a loaded dialog


Get Premium CSeT-F Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.