Which of the following function signatures is the best for keyword implementing test step number 1 ?
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)View AnswerAnswer: C Explanation: This function signature is the...
Which of the following is the BEST approach for locating the Cancel button in one specific dialog?
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...
Which of the following methods can find an element by its class name? Select two options
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_textView AnswerAnswer: A,D Explanation: The correct methods for finding an element by its class name are A. findelementbycssselector and D. findelementbytagname. The findelementbycssselector() method...
What is a test hook?
What is a test hook?A . A tool that provides an environment for test automation B. A tool to automate comparison of actual results with expected results C. A customized software interface that enables automated testing of a System Under Test (SUT) D. The degree to which tests can be...
Which of the following BEST explains how Selenium fits within the test automation architecture?
Which of the following BEST explains how Selenium fits within the test automation architecture?A . Selenium supports designing test cases B. Selenium interfaces with the SUT C. Selenium supports implementing test cases D. Selenium is a tool, not part of the test automation architectureView AnswerAnswer: B Explanation: Selenium interfaces with...
What will be the output of the execution of following piece of code?
What will be the output of the execution of following piece of code? A) B) C) D) A . Option A B. Option B C. Option C D. Option DView AnswerAnswer: A
Which of the following statements is true about test automation metrics?
Which of the following statements is true about test automation metrics?A . Meaningful test automation metrics should be established quickly B. Meaningful test automation metrics are the same no matter the size of the project C. Meaningful test automation metrics are simply comparing relative test effort for manual versus automated...
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?
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....
What is the technical debt of a project?
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...
What is the correct sequence of standard Python log levels from lowest to highest?
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. CRITICALView AnswerAnswer: D Explanation: According to the official Python guide, the standard Python...