Home
Current Affairs January 2024

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

Correct Answer :

A. By.name


Related Questions

What is the correct answer?

4

Which selenium command check whether specific text exists somewhere on the page ?

A. verifyTextPresent

B. verifyTextPresent

C. CheckTextPresent

D. VerifyPresentText

What is the correct answer?

4

Is Web Driver a component of the Selenium?

A. No

B. Yes

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

What is the most common way to find an element on a page?

A. ID

B. XPath

C. CSS selector

D. Name

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

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

In regular Expression * quantifier refers to:

A. 0 or more of the preceding character.

B. 1 or more of the preceding character

C. 0 or 1 of the preceding character

D. All of these

What is the correct answer?

4

Select the command which is used to compare the actual page title with an expected value.

A. verifyTitle

B. verifiedTitle

C. verifyTitles

D. verifiedTitles

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

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

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

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

Which Selenium component supports All Operating System?

A. Selenium Generator

B. Selenium IDE

C. Selenium WebDriver

What is the correct answer?

4

Which is the following is true in case of waitFor command?

A. waitForAlertPresent

B. waitForTextPresent

C. waitForFramePresent

D. waitForPageToLoad

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 NOT used in verifying page elements .

A. verifyElementPresent

B. verifyElementRight

C. verifyElementNotPresent

D. verifyElementPositionLeft

What is the correct answer?

4

Selenium IDE stands for

A. Selenium Intialization Development Environment

B. Selenium Interrelated Development Environment

C. Selenium Integrated Development Environment

D. Selenium Information Development Environment

What is the correct answer?

4

Select the operating system which is NOT supported by Selenium IDE.

A. Unix

B. Linux

C. Windows

D. Solaris

What is the correct answer?

4

In case of Selenium IDE, the Source view shows your script in

A. DHTML format

B. J2EE format

C. XML format

D. HTML format.

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

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

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

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

Can Google chrome be supported by Selenium IDE?

A. Yes

B. No

What is the correct answer?

4

The term JSON refers to ______________.

A. JavaScript Object Notation

B. Java Object Notation

C. Java Object Naming

D. None of the above

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

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

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

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