Which of the following methods can find an element by its class name? Select two options
A. find__element__by__css__selector
B. find.__element__by__id.
C. find_ element_bY_xpath
D. find_element_by_tag_name
E. find_element_by_partial_link_text
Which of the following snippets of code would allow you to open a browser window and go to the python web site using WebDriver with Python bindings?
A. driver = webdriver Chrome() get('HTTPS //www python com)
B. driverwebdnver Chrome() driver refresh('HTTPS://www_python com')
C. driver = webdriver Chrome() driver.get('HTTPS://www.python com')
D. driver webdriver Chrome(HTTPS://www python com)
Which of the following statements about XPath is true?
A. XPath uses CSS selectors to identify nodes in documents
B. XPath is only used to find predefined tags in documents
C. XPath is used to gather input from users for documents
D. XPath traverses and finds XML nodes through XPath syntax expressions
Which of the following Selenium tools is primarily used for capture/playback?
A. SeleniumIDE
B. Selenium WebDriver
C. Selenium Grid
D. Selenium Standalone Server
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
What is a CSS selector?
A. A pattern that targets the HTML elements you want to style
B. A tree structure wherein each node is an object representing a part of the document
C. An HTML inline frame, used to embed another document within an HTML document
D. A query language for selecting nodes from an XML document
What is the technical debt of a project?
A. The cost of hardware taken into account in the project budget
B. The cost of additional work in the project due to defects and inefficiencies in code and project design
C. The acronym of "directly evaluating binary testing"
D. The cost of implementation of keywords in Keyword Driven Testing, which is to be performed by technical tester
What is the correct sequence of standard Python log levels from lowest to highest?
A. DEBUG, WARNING. CRITICAL, INFO, ERROR
B. INFO, WARNING, ERROR, CRITICAL. BLOCKER
C. NOTE, DEBUG, INFO, WARNING, ERROR
D. DEBUG, INFO, WARNING. ERROR. CRITICAL
Which of the following statements is true?
A. The cheapest and best way to automate is to create automated scripts for every manual test
B. While it is more expensive to automate tests, maintenance of them is much cheaper than manual testing
C. A recorded automated test script excels in interpreting the context of the testing
D. A manual tester can run tests that an automated test would lack the context to interpret
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)