Home
Current Affairs January 2024

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

Correct Answer :

B. glob


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

Which method is used when you want to verify whether a certain check box, radio button, or option in a drop-down box is selected in Web driver Selenium

A. is_Selected()

B. isSelect()

C. isSelected()

D. is_Select()

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

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

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

Out of the following which can only test web applications

A. QTP

B. Selenium

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 method which selects the option at the given index.

A. selectByIndex()

B. selectIndex()

C. selectedByIndex()

D. selectByIndexes()

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 a test suite made of ?

A. Test packs

B. Tests

C. Test blocks

D. Test pattern

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

A. verifyElementPresent

B. verifyElementRight

C. verifyElementNotPresent

D. verifyElementPositionLeft

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

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

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

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 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 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 method which clears all selected entries in Web driver Selenium.

A. dselectAll()

B. deselect_All()

C. dselect_All()

D. deselectAll()

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

___________ 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

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

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

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

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

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

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

Select the language which is supported by The Selenium Web Driver

A. Perl

B. Sql

C. ASP

D. Cobol