Home
Current Affairs January 2024

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

Correct Answer :

D. deselectAll()


Related Questions

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

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

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

Out of the following which can only test web applications

A. QTP

B. Selenium

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

Which Selenium component supports All Operating System?

A. Selenium Generator

B. Selenium IDE

C. Selenium WebDriver

What is the correct answer?

4

Which command should be used to confirm that test will pass in the future, when new element is added after page loaded?

A. waitForElementPresent

B. pause

C. assertElementPresent

D. None of these

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

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

Select the method which performs a context-click at the current mouse location.

A. click_Context()

B. context.Click()

C. contextClick()

D. context_Click()

What is the correct answer?

4

The Selenium can

A. access controls within the desktop

B. both web and desktop applications

C. only test web applications

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

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

What is the correct answer?

4

Selenium is compatible with

A. CSS1.0 and CSS 2.0,

B. CSS1.0, CSS 2.0, and CSS 3.0 selectors.

C. CSS 2.0, and CSS 3.0 selectors.

D. CSS1.0, CSS 2.0, CSS 3.0 and CSS 4.0 selectors.

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

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

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 language which is supported by The Selenium Web Driver

A. Perl

B. Sql

C. ASP

D. Cobol

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.

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

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

The Selenium

A. Provides professional customer support

B. Test Reports are generated automatically

C. Comes with a built-in object repository

D. Cannot access elements outside of the web application under test

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

A. waitForPageToLoad

B. waitForElementPresent

C. waitForPage

D. waitForLoad

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

What does the term regex expands to ?

A. Registered Expression

B. Regular Expression

C. Regression Expression

D. Regional Expression