Home
Current Affairs January 2024

What is the correct answer?

4

Which is odd one out?

A. ID

B. XPath

C. CSS selector

D. Pattern matching

Correct Answer :

D. Pattern matching


Related Questions

What is the correct answer?

4

Select the syntax to locate an element using inner text.

A. css=tag:contains(inner text�)

B. css=tag:value(inner text�)

C. css=tag:attributes(inner text�)

D. css=tag:class(inner text�)

What is the correct answer?

4

What is called that scale for large test suites or test suites that must be run in multiple environments?

A. Selenium-Grid

B. Selenium RC

C. Selenium Web driver

D. Selenium NG

What is the correct answer?

4

Out of the following which is NOT a wait command.

A. waitForTitle

B. waitForTextPresent

C. waitForActive

D. waitForAlert

What is the correct answer?

4

Select the tab that shows which command Selenium IDE is currently executing.

A. Variable

B. Data

C. Information

D. Info

What is the correct answer?

4

What is a test suite made of ?

A. Test packs

B. Tests

C. Test blocks

D. Test pattern

What is the correct answer?

4

Which label is used as prefix pattern to specify a globbing pattern parameter for a Selenese command ?

A. pattern

B. glob

C. regex

D. None

What is the correct answer?

4

Which is a procedure?

A. Wait

B. Exit

C. WaitForProperty

D. None of these.

What is the correct answer?

4

Which component of Selenium can create customized test results.

A. Web driver

B. Selenium RC

C. Selenium IDE

D. Selenium Grid

What is the correct answer?

4

What does the term regex expands to ?

A. Registered Expression

B. Regular Expression

C. Regression Expression

D. Regional Expression

What is the correct answer?

4

What is Selenium IDE ?

A. Windows Software

B. Firefox Plug-in

C. Java Software

D. Flash Plug-in

What is the correct answer?

4

Select the variation which locates elements by the value of their id� attribute in Web Driver Selenium

A. By.id

B. By.idno

C. By.id_no

D. By.tag_id

What is the correct answer?

4

The term JSON refers to ______________.

A. JavaScript Object Notation

B. Java Object Notation

C. Java Object Naming

D. None of the above

What is the correct answer?

4

What is the most common way to find an element on a page?

A. ID

B. XPath

C. CSS selector

D. Name

What is the correct answer?

4

What does the assertTitle checks ?

A. Element title

B. Page title

C. Block title

D. Title of element under focus

What is the correct answer?

4

What does the term DOM refers to ?

A. Dynamic Object Model

B. Document Object Model

C. Data Object Model

D. Document Flow Object Model

What is the correct answer?

4

echo(): is used

A. to display the value of a variable in the log file, which can be very valuable for debugging.

B. Display the value of a variable named answer in the log file, what would the first argument to the previous command look like.

C. Both of these

D. None of these

What is the correct answer?

4

Select the Browser which is supported by Selenium IDE

A. Google chrome

B. Opera mini

C. Mozilla Firefox

D. Internet Explorer

What is the correct answer?

4

Which of the following is not verify and asserts method in Selenium?

A. VerifyElementPresent

B. VerifyElementNotPresent

C. VerifyText

D. VerifyTextAttributes

What is the correct answer?

4

Is Web Driver a component of the Selenium?

A. No

B. Yes

What is the correct answer?

4

Select the command which is used to print a string value or a variable in Selenium IDE.

A. The 'display' command

B. The 'echo' command

C. The 'print' command

D. The 'printr' command

What is the correct answer?

4

Which process use the JavaScript to find an element?

A. By DOM query

B. BY XPath query

C. BY CSS sector

D. All of these

What is the correct answer?

4

The Selenium IDE is used

A. To create customized test results.

B. To deploy your tests across multiple environments using Selenium Grid

C. To test with HTMLUnit

D. To test a web application against Firefox only.

What is the correct answer?

4

Select the method which selects the option at the given index.

A. selectByIndex()

B. selectIndex()

C. selectedByIndex()

D. selectByIndexes()

What is the correct answer?

4

We use the dot (.) operator followed by either a * or a +. The + tells the regular expression that there will be instances between 0 and n, while the * tells the regular expression that there will be instances between 1 and n.

A. True

B. False

What is the correct answer?

4

Out of the following which can only test web applications

A. QTP

B. Selenium

What is the correct answer?

4

Selenium tests _____________.

A. DOS applications

B. Browser-based applications

C. GUI applications

D. None of the above

What is the correct answer?

4

If you wanted to access the element that has the text This element has an ID that changes every time the page is loaded in it, then which of the following is used:

A. //div[contains(@id,'time_')]

B. //div[contains(@id_time())]

C. //div[parameter(@id_time())]

D. //div[parameter(@id,'time_')]

What is the correct answer?

4

What is TestNG?

A. TestNextGeneration

B. TestNewGenerlization

C. TestNewGeneration

D. TestNextGenerations

What is the correct answer?

4

Select the command which is used to check the presence of a certain element.

A. verifyTable

B. verifyTitlePresent

C. verifyTextPresent

D. verifyElementPresent

What is the correct answer?

4

Select the tab which gives feedback and other useful information when executing tests.

A. Information

B. Feedback

C. Reference

D. Element