Home
Current Affairs January 2024

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

Correct Answer :

A. verifyTitle


Related Questions

What is the correct answer?

4

Is Web Driver a component of the Selenium?

A. No

B. Yes

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

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

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

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

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

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

The // tells the query that

A. It needs to stop at the first element that it finds.

B. This is comment

C. The path of the file or folder

D. All of these

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

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 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 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 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 regular expression sequence that loosely translates to anything or nothing?

A. .* (dot star)

B. *. (star dot)

C. *?

D. *+

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

How to execute specific command?

A. Highlight a command. Press Ctrl + F9.

B. Highlight a command. Press Alt + F9.

C. Highlight a command. Press Ctrl + X.

D. Highlight a command. Press X.

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

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

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

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

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

Which is odd one out?

A. ID

B. XPath

C. CSS selector

D. Pattern matching

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

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

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

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