Home
Current Affairs January 2024

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

Correct Answer :

C. contextClick()


Related Questions

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

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

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

In Selenium variables are stored in _________ .

A. storedVars

B. storedVariables

C. VariablesStore

D. All of the above

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

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

Which is odd one out?

A. ID

B. XPath

C. CSS selector

D. Pattern matching

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

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

The test language usually used in Selenium is ________________.

A. PHP

B. Python

C. JavaScript

D. None of the above

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

Can Google chrome be supported by Selenium IDE?

A. Yes

B. No

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

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

Select the language which is NOT supported by the Selenium RC.

A. ASP

B. Java

C. C#

D. PHP

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 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 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 command which is used to pause execution until the specified element becomes present.

A. waitForElementPresent

B. waitForPagePresent

C. waitForTablePresent

D. waitForFieldPresent

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

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

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

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

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

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

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_')]