Pass the iSQI A4Q Selenium Tester CSeT-F Questions and answers with CertsForce

Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions
Questions # 1:

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

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


Questions # 2:

If you need to test the content within a specific frame in a web page, which one of the following is the BEST approach for gaining access to the frame?

Options:

A.

Get handles for the open frames and switch to the frame with that handle


B.

Execute JavaScript window_open code to open the desired frame


C.

Create a WebDriver object for the frame and use the gotframeQ method using the object


D.

Use the swltch_to class to switch to the desired frame


Questions # 3:

Which of the following is a limitation of a test automation project that is likely to cause an organization to get less return on their investment than they expected?

Options:

A.

Approach stating that all manual tests should be automated


B.

The pesticide paradox is decreased with automation


C.

Short-term thinking and inadequate planning for the automation


D.

Executing tests outside of normal business hours


Questions # 4:

Consider the following HTML document

Question # 4

Which of the following CSS selectors will find the Cancel button?

Options:

A.

.big.button[name="cancel"]


B.

."big button" [name="cancel'']


C.

. .big_button[name="cancel"]


D.

.big.button[@name="cancel"]


Questions # 5:

What is a CSS selector?

Options:

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


Questions # 6:

What will be the output of the execution of following piece of code?

Question # 6

A)

Question # 6

B)

Question # 6

C)

Question # 6

D)

Question # 6

Options:

A.

Option A


B.

Option B


C.

Option C


D.

Option D


Questions # 7:

What is the correct sequence of standard Python log levels from lowest to highest?

Options:

A.

DEBUG, WARNING. CRITICAL, INFO, ERROR


B.

INFO, WARNING, ERROR, CRITICAL. BLOCKER


C.

NOTE, DEBUG, INFO, WARNING, ERROR


D.

DEBUG, INFO, WARNING. ERROR. CRITICAL


Questions # 8:

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?

Options:

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)


Questions # 9:

Given the following piece of code:

Question # 9

Which page will be displayed in the web browser after its execution?

Options:

A.

httpsV/perl.org


B.

httpsZZpython.org


C.

Browser's home page


D.

The page cannot be determined


Questions # 10:

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 the frame?

A)

Question # 10

B)

Question # 10

C)

Question # 10

D)

Question # 10

Options:

A.

Option A


B.

Option B


C.

Option C


D.

Option D


Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions