Home
Current Affairs January 2024

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. *+

Correct Answer :

A. .* (dot star)


Related Questions

What is the correct answer?

4

Which two commands you use to validate a button?

A. VerifyTextPresent and assertTextPresent

B. VerifyElementPresent and assertElementPresent

C. VerifyAlertPresent and assertAlertPresent

D. VerifyAlert and assertAlert

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

What does the term regex expands to ?

A. Registered Expression

B. Regular Expression

C. Regression Expression

D. Regional Expression

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

Which is a procedure?

A. Wait

B. Exit

C. WaitForProperty

D. None of these.

What is the correct answer?

4

Selenium is compatible with

A. CSS1.0 and CSS 2.0,

B. CSS1.0, CSS 2.0, and CSS 3.0 selectors.

C. CSS 2.0, and CSS 3.0 selectors.

D. CSS1.0, CSS 2.0, CSS 3.0 and CSS 4.0 selectors.

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

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

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

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

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

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

Selenium tests _____________.

A. DOS applications

B. Browser-based applications

C. GUI applications

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

Can Google chrome be supported by Selenium IDE?

A. Yes

B. No

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

A. selectByIndex()

B. selectIndex()

C. selectedByIndex()

D. selectByIndexes()

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

What is a test suite made of ?

A. Test packs

B. Tests

C. Test blocks

D. Test pattern

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

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

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

In Selenium variables are stored in _________ .

A. storedVars

B. storedVariables

C. VariablesStore

D. All of the above

What is the correct answer?

4

Which Selenium component supports All Operating System?

A. Selenium Generator

B. Selenium IDE

C. Selenium WebDriver