Home
Current Affairs January 2024

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()

Correct Answer :

D. getText()


Related Questions

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

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

Can Unix operating system be supported by Selenium IDE?

A. No

B. Yes

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

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 command which is used to pause execution until the page is loaded completely.

A. waitForPageToLoad

B. waitForElementPresent

C. waitForPage

D. waitForLoad

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

Which method is used when you want to verify whether a certain check box, radio button, or option in a drop-down box is selected in Web driver Selenium

A. is_Selected()

B. isSelect()

C. isSelected()

D. is_Select()

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

What is the correct answer?

4

Can Google chrome be supported by Selenium IDE?

A. Yes

B. No

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 two commands you use to validate a button?

A. VerifyTextPresent and assertTextPresent

B. VerifyElementPresent and assertElementPresent

C. VerifyAlertPresent and assertAlertPresent

D. VerifyAlert and assertAlert

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

Select the command which is NOT used in verifying page elements .

A. verifyElementPresent

B. verifyElementRight

C. verifyElementNotPresent

D. verifyElementPositionLeft

What is the correct answer?

4

Select the command which is used to compare the contents of a table with expected values.

A. verifyTables

B. verifyTableData

C. verifyTable

D. verifyTableCell

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

What is the default port number used by hub in selenium?

A. 4444

B. 2222

C. 1111

D. 3333

What is the correct answer?

4

Select the command which is NOT a type of assertion in Selenium IDE.

A. Assert

B. Verify

C. WaitFor

D. Wait

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

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

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

Selects all the parent, grandparent, and so on of the element is related to which axis name in Selenium:

A. Ancestor

B. Preceding

C. Parent

D. All of these.

What is the correct answer?

4

Select the variation which locates elements by the value of the name� attribute in Web driver Selenium

A. By.name

B. By.nametag

C. By.tagname

D. By.nametags

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()

What is the correct answer?

4

Select the View which shows your script in HTML format.

A. The Table View

B. The Source View

C. The Editor View

D. The Field View

What is the correct answer?

4

The // tells the query that

A. It needs to stop at the first element that it finds.

B. This is comment

C. The path of the file or folder

D. All of these

What is the correct answer?

4

The Web driver is used

A. To execute tests on the HtmlUnit browser.

B. To design a test using Selenese

C. To quickly create tests

D. To test a web application against Firefox only.

What is the correct answer?

4

How to execute specific command?

A. Highlight a command. Press Ctrl + F9.

B. Highlight a command. Press Alt + F9.

C. Highlight a command. Press Ctrl + X.

D. Highlight a command. Press X.

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

Which command is used to extend the time limit of WAITFOR command?

A. Extend waitFor (time in sec)

B. waitFor (time in sec) extend

C. setTimeout (time in sec)

D. setTimeout.