Home
Current Affairs January 2024

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

Correct Answer :

A. Perl


Related Questions

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

Which Navigate command takes you forward by one page on the browser's history in Web driver Selenium.

A. navigate.forward()

B. navigate().forward()

C. navigate()_forward()

D. navigate_forword()

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

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

What is TestNG?

A. TestNextGeneration

B. TestNewGenerlization

C. TestNewGeneration

D. TestNextGenerations

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

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

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

What is Selenium IDE ?

A. Windows Software

B. Firefox Plug-in

C. Java Software

D. Flash Plug-in

What is the correct answer?

4

To delete a cookie we need to call the deleteCookie method, passing in two parameters.

A. The first parameter is the name of the cookie, and the second parameter is where it was created.

B. The first parameter is where it was created, and the second parameter is the name of cookie.

C. None of these

D. All of the above

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

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

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

___________ 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

Select the command which retrieves the alert message and stores it in a variable that you will specify.

A. storeAlert

B. storedAlert

C. store_Alert

D. storesAlert

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

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 a type of assertion in Selenium IDE.

A. Assert

B. Verify

C. WaitFor

D. Wait

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

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

A. Perl

B. Sql

C. ASP

D. Cobol

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

The Selenium RC is used

A. To run your test against different browsers (except HtmlUnit) on different operating systems.

B. To create tests with little or no prior knowledge in programming.

C. To test a web application against Firefox only.

D. To run a huge test suite, that can be executed on multiple machines.

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

A. are commands that directly interact with page elements.

B. are commands that allow you to store values to a variable.

C. are commands that verify if a certain condition is met.

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

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

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 View which shows your script in HTML format.

A. The Table View

B. The Source View

C. The Editor View

D. The Field View