Home
Current Affairs January 2024

What is the correct answer?

4

In Selenium variables are stored in _________ .

A. storedVars

B. storedVariables

C. VariablesStore

D. All of the above

Correct Answer :

A. storedVars


Related Questions

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

What is a test suite made of ?

A. Test packs

B. Tests

C. Test blocks

D. Test pattern

What is the correct answer?

4

Is Web Driver a component of the Selenium?

A. No

B. Yes

What is the correct answer?

4

What is TestNG?

A. TestNextGeneration

B. TestNewGenerlization

C. TestNewGeneration

D. TestNextGenerations

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

Selects all the parent, grandparent, and so on of the element is related to which axis name in Selenium:

A. Ancestor

B. Preceding

C. Parent

D. All of these.

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

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

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

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

A. Perl

B. Sql

C. ASP

D. Cobol

What is the correct answer?

4

What does the term DOM refers to ?

A. Dynamic Object Model

B. Document Object Model

C. Data Object Model

D. Document Flow Object Model

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

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

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

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

Select the command in Selenium IDE used to open a page using the URL.

A. OpenRecord

B. Open

C. OpenText

D. OpenTable

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 language which is NOT supported by the Selenium RC.

A. ASP

B. Java

C. C#

D. PHP

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

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

What is Selenium IDE ?

A. Windows Software

B. Firefox Plug-in

C. Java Software

D. Flash Plug-in

What is the correct answer?

4

What does the term CSS refers to ?

A. Cascade Style Sheets

B. Cascading Style Sheets

C. Clear Style Sheets

D. Catering Style Sheets

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

Out of the following which is NOT a wait command.

A. waitForTitle

B. waitForTextPresent

C. waitForActive

D. waitForAlert