Home
Current Affairs January 2024

What is the correct answer?

4

Method which selects the option which displays the text matching the parameter passed to it

A. selectVisibleText()

B. selectByVisibleText()

C. select_VisibleText()

D. select_ByVisibleText()

Correct Answer :

B. selectByVisibleText()


Related Questions

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 CSS refers to ?

A. Cascade Style Sheets

B. Cascading Style Sheets

C. Clear Style Sheets

D. Catering Style Sheets

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

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

In regular Expression * quantifier refers to:

A. 0 or more of the preceding character.

B. 1 or more of the preceding character

C. 0 or 1 of the preceding character

D. All 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

Select the language which is supported by The Selenium Web Driver

A. Perl

B. Sql

C. ASP

D. Cobol

What is the correct answer?

4

By Default time of WAITFOR command is :

A. 15 sec

B. 20 sec

C. 25 sec

D. 30 sec

What is the correct answer?

4

Select the component which is NOT part of Selenium suite.

A. Selenium IDE

B. Selenium RC

C. SeleniumGrid

D. Selenium Web

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

The term AJAX expands to ________.

A. Asynchronous Java and XML

B. Asynchronous JavaScript and XML

C. Accumulated Java and XML

D. None of the above

What is the correct answer?

4

Select the command in Selenium IDE used to open a page using the URL.

A. OpenRecord

B. Open

C. OpenText

D. OpenTable

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 finds elements based on the driver's underlying CSS selector engine in Web driver Selenium.

A. By.cssSelected

B. By.cssSelection

C. By.cssSelector

D. By.Selectcs

What is the correct answer?

4

Applications do not have the items needed for the tests when the tests get to commands. To get around this, we had a look at adding fro waitFor commands to test. This is related to

A. Debugging tests

B. Working with AJAX applications

C. Working with multiple windows

D. All of these

What is the correct answer?

4

___________ finds the item ending with the value passed in. This is the equivalent to the XPath ends-with. Is concern with?

A. ^=

B. $=

C. *=

D. &=

What is the correct answer?

4

In selenium, parent and child nodes are in same query because HTML has a tree structure.

A. True

B. False

What is the correct answer?

4

Which is not true in case of Globs, in Selenium?

A. Globs are used as default pattern matching technique.

B. It is similar to regular expressions.

C. The syntax of Globs is much wider than Regular expression

D. B and C

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

Select the command which is used to compare the actual page title with an expected value.

A. verifyTitle

B. verifiedTitle

C. verifyTitles

D. verifiedTitles

What is the correct answer?

4

Where is XPath used in ?

A. XML documents

B. MS-Word documents

C. MS-Excel documents

D. MS-PowerPoint documents

What is the correct answer?

4

Select the method which clears all selected entries in Web driver Selenium.

A. dselectAll()

B. deselect_All()

C. dselect_All()

D. deselectAll()

What is the correct answer?

4

What is TestNG?

A. TestNextGeneration

B. TestNewGenerlization

C. TestNewGeneration

D. TestNextGenerations

What is the correct answer?

4

Variable can be saved in which format?

A. ${variableName}

B. storedVars['variableName'].

C. Both of these

D. None of these

What is the correct answer?

4

Select the Get command which fetches the inner text of the element that you specify in Web driver Selenium.

A. getinnerText()

B. get_in_Text()

C. get_inner_Text()

D. getText()

What is the correct answer?

4

Which command can be used to enter values onto text boxes?

A. sendsKeys()

B. sendKey()

C. sendKeys

D. sendKeys()

What is the correct answer?

4

Which is a faster component between the SeleniumWeb driver and Selenium RC?

A. Selenium RC

B. Selenium Web driver

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 regular expression sequence that loosely translates to anything or nothing?

A. .* (dot star)

B. *. (star dot)

C. *?

D. *+

What is the correct answer?

4

Select the command that will NOT wait for a new page to load before moving onto the next command.

A. clickAndWait

B. selectAndType

C. typeAndWait

D. selectAndWait