Home
Current Affairs January 2024

What is the correct answer?

4

In Selenium, Following Axis is related to:

A. Selects all the siblings after the current element

B. Selects all elements that follow the closing tab of the current elements.

C. Selects all of the siblings before the current element

D. Selects all elements that are before the current element

Correct Answer :

B. Selects all elements that follow the closing tab of the current elements.


Related Questions

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 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 Component is used to run multiple tests simultaneously in different browsers and platforms?

A. Selenium Grid

B. Selenium IDE

C. Selenium RC

D. Selenium Webdriver

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

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

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

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

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

Out of the following which is NOT a wait command.

A. waitForTitle

B. waitForTextPresent

C. waitForActive

D. waitForAlert

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

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

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

Can Unix operating system be supported by Selenium IDE?

A. No

B. Yes

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

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

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

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

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

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

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

In Selenium, Following Axis is related to:

A. Selects all the siblings after the current element

B. Selects all elements that follow the closing tab of the current elements.

C. Selects all of the siblings before the current element

D. Selects all elements that are before the current element

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

What is a test suite made of ?

A. Test packs

B. Tests

C. Test blocks

D. Test pattern

What is the correct answer?

4

Selenium variables are stored in _____________.

A. storedVars

B. storedVariables

C. VariablesStore

D. None of the above

What is the correct answer?

4

What is TestNG?

A. TestNextGeneration

B. TestNewGenerlization

C. TestNewGeneration

D. TestNextGenerations

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

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

A. 4444

B. 2222

C. 1111

D. 3333