A4Q Certified Selenium Tester Foundation
CSET-F Exam

Which of the following methods can find an element by its class name? Select two options

  1. find__element__by__css__selector
  2. find.__element__by__id.
  3. find_ element_bY_xpath
  4. find_element_by_tag_name
  5. find_element_by_partial_link_text

Answer(s): A,D

Explanation:

Note that the method name in the options are not in proper format, the correct one should be find_element_by_class_name and find_element_by_tag_name



which of the following may be used as a closing tag?

  1. </html>
  2. <html>
  3. <h1>
  4. <close>

Answer(s): A

Explanation:

Note that option B <html> is the opening tag, whereas A</html> is a closing tag. C and D are not closing tags.



Given a frame with an ID of "framelD". which of the following is/are the best line(s) of code for changing the context of the test script to theframe?

A)



B)



C)




D)

  1. Option A
  2. Option B
  3. Option C
  4. Option D

Answer(s): A



In the web application you are testing, you need to select several options in a dropdown menu

Which of the following is the BEST approach for selecting a dropdown option using WebDriver?

  1. Use the switch_to class to switch to the dropdown element, and then click on the option in the dropdown
  2. Click on the dropdown option using its relative XPath
  3. Click on the dropdown option using its absolute XPath
  4. Click on the dropdown element and then click on the option in the dropdown

Answer(s): D

Explanation:

This approach directly interacts with the dropdown element and then the option within it. Using relative or absolute XPath can work but they may become brittle if the web page structure changes. The switch_to class is mainly used to switch between the different frames and windows, it's not the best approach for this scenario.




Cisco Engineer
I have found that your resources are probably the best on the market...and I work at Cisco.
- UNITED STATES
Upvote


Koshani
A well Good morning Dear braindumpgalaxy.com Team I wanna say that I passed the 000-888 yesterday and i am happy
- UNITED STATES
Upvote


Aized
I took the A+ hardware exam yesterday and thanks to your excellent and helping preparation material. I got a nice score.
- Pakistan
Upvote


Nazanin
I passed the exam with great distinction!
- CANADA
Upvote


Xiwan W
Great Price....Great Product. Keep up the good work!
- China
Upvote


Ashwin
So far your practice exams are extremely helpful. My test scores keep on going up every time I do them and I feel very confident now.
- India
Upvote


Mike M
The exams was excellent and helped me pass without any doubt.Very helpful! Thank you! I passed!
- UNITED ARAB EMIRATES
Upvote


Smart one
You guys rock. I just passed my 920-139 exam with 929 marks. Thanks for accurate & descriptive question bank.
- UK
Upvote


C J
Just to let you know, I passed my exam. Thank you,
- Mexico
Upvote


Mr. P
I just have to say a big thank you to you guys... i passed 70-552 exams with 896. You guys are the bomb! Keep the faith and the flag of being good. A big thank you once again.(10Q ALL).
- GERMANY
Upvote

Read more ...