Selenium Testing Online Test, Free Online Test Series, Free Quiz
Finish Quiz
0 of 30 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
Information
Selenium Testing Online Test, Free Selenium Testing Quiz, Online Selenium Testing, online Test Quiz. Selenium Testing Online Test Question and Answers 2019. Selenium Testing online Test Quiz. Selenium Testing Test Free Mock Test 2019. Selenium Testing Online Test Question and Answers in PDF. The Selenium Testing online mock test paper is free for all students. Selenium Testing Online Test is very useful for exam preparation and getting for Rank. Selenium Testing Online Test Question and Answers in English. Selenium Testing Online Test for topic via String Handling Mode. Here we are providing Selenium Testing Online Test in English Now Test your self for “Selenium Testing Online Test in English” Exam by using below quiz…
This paper has 30 questions.
Time allowed is 30 minutes.
The Selenium Testing Online Test is Very helpful for all students. Now Scroll down below n click on “Start Quiz” or “Start Test” and Test yourself.
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 30 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
Pos. | Name | Entered on | Points | Result |
---|---|---|---|---|
Table is loading | ||||
No data available | ||||
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- Answered
- Review
-
Question 1 of 30
1. Question
Which of the following is not verify and asserts method in Selenium?
Correct
VerifyElementPresent: Verifyelementpresent is an axis name that is use to identify the elements on page.
VerifyElementNotPresent: It is same as verifyelementpresent but the difference is that, if the element is not present on page then it executes another method.
VerifyText: Verifytext is an axis name that is use to compare text on page.
VerifyTextAttribute is not use in selenium
Therefore, VerifytextAttribute is the correct answer.Incorrect
VerifyElementPresent: Verifyelementpresent is an axis name that is use to identify the elements on page.
VerifyElementNotPresent: It is same as verifyelementpresent but the difference is that, if the element is not present on page then it executes another method.
VerifyText: Verifytext is an axis name that is use to compare text on page.
VerifyTextAttribute is not use in selenium
Therefore, VerifytextAttribute is the correct answer. -
Question 2 of 30
2. Question
By Default time of WAITFOR command is :
Correct
The WaitFor Command is used for pause execution process for specified time. By default its waiting time or pause time is 30 sec but we can also define the time by using settimeout command.
Therefore, 30 sec is correct answer.Incorrect
The WaitFor Command is used for pause execution process for specified time. By default its waiting time or pause time is 30 sec but we can also define the time by using settimeout command.
Therefore, 30 sec is correct answer. -
Question 3 of 30
3. Question
Which command is used to extend the time limit of WAITFOR command?
Correct
WaitFor Command: The waitfor command is used to pause or wait the execution for the specified time. By default its pause time period is 30 seconds but we can easily change the time period by using the Settimeout command.
Therefore, option D is the correct answer.Incorrect
WaitFor Command: The waitfor command is used to pause or wait the execution for the specified time. By default its pause time period is 30 seconds but we can easily change the time period by using the Settimeout command.
Therefore, option D is the correct answer. -
Question 4 of 30
4. Question
Variable can be saved in which format?
Correct
In selenium we use 2 functions for storing value into variables.
store(expression, variable name) for storing value
storedvars[‘variablename’] for storing one variable value to another variable.
Therefore, Option b is correct as per the given option.Incorrect
In selenium we use 2 functions for storing value into variables.
store(expression, variable name) for storing value
storedvars[‘variablename’] for storing one variable value to another variable.
Therefore, Option b is correct as per the given option. -
Question 5 of 30
5. Question
Which is the following is false in case of waitFor command?
Correct
WaitFor: The WaitFor Command is used for pause execution process for specified time period.
WaitForalertpresent is used to identify when alert is occurred in the web page.
Waitfortextpresent is used to identify or searching the extract Text in the page or system.
Waitforpagetoload is used for pausing the execution process until page not gets loaded successfully.
Waitforframepresent is not used in the Selenium.
Therefore, Waitforframepresent is the correct answer.Incorrect
WaitFor: The WaitFor Command is used for pause execution process for specified time period.
WaitForalertpresent is used to identify when alert is occurred in the web page.
Waitfortextpresent is used to identify or searching the extract Text in the page or system.
Waitforpagetoload is used for pausing the execution process until page not gets loaded successfully.
Waitforframepresent is not used in the Selenium.
Therefore, Waitforframepresent is the correct answer. -
Question 6 of 30
6. Question
How to execute specific command?
Correct
In selenium we are using 2 steps for executing any specific command.
Step1: First highlight the command and
Step2: Press X button
Therefore, option D is the correct answer.Incorrect
In selenium we are using 2 steps for executing any specific command.
Step1: First highlight the command and
Step2: Press X button
Therefore, option D is the correct answer. -
Question 7 of 30
7. Question
Applications do not have the items needed for the tests when the tests get to commands. To get around this, we had a look at adding from waitFor commands to test. This is related to
Correct
Debugging Tests: Debugging test is process of debug test step-wise-step, but it always follows different way to perform debugging process.
Working with AJAX application: AJAX applications do not have items for test when, tests get to command.
Working with multiple windows: Multiple windows mean we can test the application in multiple windows.
Therefore, AJAX application is only satisfied answer for this question.Incorrect
Debugging Tests: Debugging test is process of debug test step-wise-step, but it always follows different way to perform debugging process.
Working with AJAX application: AJAX applications do not have items for test when, tests get to command.
Working with multiple windows: Multiple windows mean we can test the application in multiple windows.
Therefore, AJAX application is only satisfied answer for this question. -
Question 8 of 30
8. Question
The // tells the query that
Correct
// is used in the Xpath for locating nodes in the XML document. The XML locater is start with // that is used to define the first node of locater in the XML document.
Therefore Option A is correct.Incorrect
// is used in the Xpath for locating nodes in the XML document. The XML locater is start with // that is used to define the first node of locater in the XML document.
Therefore Option A is correct. -
Question 9 of 30
9. Question
In selenium, parent and child nodes are in same query because HTML has a tree structure.
Correct
In selenium, it represents parent and child node in the same query due to HTLM has tree structure. First query start with HTML node, move to child node then body after that body’s child and so on.
Therefore, option A is the correct answer.Incorrect
In selenium, it represents parent and child node in the same query due to HTLM has tree structure. First query start with HTML node, move to child node then body after that body’s child and so on.
Therefore, option A is the correct answer. -
Question 10 of 30
10. Question
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?
Correct
In selenium there are 2 functions for searching element that contain text value in it.
starts-with() : //div[starts-with(@id,’time_’)]
contains() : //div[contains(@id,’time_’)]
Therefore, Option A is the correct answer.Incorrect
In selenium there are 2 functions for searching element that contain text value in it.
starts-with() : //div[starts-with(@id,’time_’)]
contains() : //div[contains(@id,’time_’)]
Therefore, Option A is the correct answer. -
Question 11 of 30
11. Question
Selects all the parent, grandparent, and so on of the element is related to which axis name in Selenium?
Correct
Ancestor: selects all elements of parent node, grandparent node and all other nodes of the system.
Preceding: It contains all the nodes those are already occur in context or system.
Parent: It only contains the parent node of context or system.
Therefore, ancestor is the correct answer.Incorrect
Ancestor: selects all elements of parent node, grandparent node and all other nodes of the system.
Preceding: It contains all the nodes those are already occur in context or system.
Parent: It only contains the parent node of context or system.
Therefore, ancestor is the correct answer. -
Question 12 of 30
12. Question
In Selenium, Following Axis is related to:
Correct
Following Axis: Following axis is select all nodes or element that come after context node or follow the closing tab of the current element in the same document except the descendent, attribute nodes and namespace nodes.
Therefore, Option B is the correct answer.Incorrect
Following Axis: Following axis is select all nodes or element that come after context node or follow the closing tab of the current element in the same document except the descendent, attribute nodes and namespace nodes.
Therefore, Option B is the correct answer. -
Question 13 of 30
13. Question
Selenium is compatible with
Correct
CSS selector is used in selenium to find or search the object. Selenium is compatible with CSS1.0, CSS2.0, CSS3.0 selectors.
Therefore, option B is the correct answer.Incorrect
CSS selector is used in selenium to find or search the object. Selenium is compatible with CSS1.0, CSS2.0, CSS3.0 selectors.
Therefore, option B is the correct answer. -
Question 14 of 30
14. Question
___________ finds the item ending with the value passed in. This is the equivalent to the XPath ends-with.
Correct
^= Match a prefix
$= Match a suffix
*= Match a substring
Therefore, $= is the correct answer.Incorrect
^= Match a prefix
$= Match a suffix
*= Match a substring
Therefore, $= is the correct answer. -
Question 15 of 30
15. Question
Which is the odd one out?
Correct
CSS selector: CCS selector is used in selenium for finding the object or element in the page or system.
Xpath: Xpath is used to locating element on web page.
ID: ID is a unique number or value for every element or object of system that is used for searching elements.
Pattern matching: Pattern matching is a technique that is used for searching text value in the page by using some special characters.
Therefore, Patter matching is different from other options.Incorrect
CSS selector: CCS selector is used in selenium for finding the object or element in the page or system.
Xpath: Xpath is used to locating element on web page.
ID: ID is a unique number or value for every element or object of system that is used for searching elements.
Pattern matching: Pattern matching is a technique that is used for searching text value in the page by using some special characters.
Therefore, Patter matching is different from other options. -
Question 16 of 30
16. Question
Which process use the JavaScript to find an element?
Correct
By DOM query: DOM query is used for evaluating/finding element on the page
By Xpath query: Xpath query is use to identify nodes in XML Document
By CSS sector: CSS sector is a section of code that is use to define style property of web page.
Therefore, By DOM is the correct answer.Incorrect
By DOM query: DOM query is used for evaluating/finding element on the page
By Xpath query: Xpath query is use to identify nodes in XML Document
By CSS sector: CSS sector is a section of code that is use to define style property of web page.
Therefore, By DOM is the correct answer. -
Question 17 of 30
17. Question
Which is not true in case of Globs, in Selenium?
Correct
Globs: Globs is a technique same as a regular expression for searching a text or value in the system. We use some specified character for searching text like *,? And [ ]
Therefore, the option C is not valid for the Globs.Incorrect
Globs: Globs is a technique same as a regular expression for searching a text or value in the system. We use some specified character for searching text like *,? And [ ]
Therefore, the option C is not valid for the Globs. -
Question 18 of 30
18. Question
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”.
Correct
Regular expression is used for searching text or value on the page. We use +, *, dot, [] character for searching values.
*: 0 or more of the preceding character.
+: 1 or more of the preceding character.
Therefore, false is the correct answer.Incorrect
Regular expression is used for searching text or value on the page. We use +, *, dot, [] character for searching values.
*: 0 or more of the preceding character.
+: 1 or more of the preceding character.
Therefore, false is the correct answer. -
Question 19 of 30
19. Question
What is the default port number used by hub in selenium?
Correct
By default 4444 port number is used by selenium or some other application. If there is some other application are already use 4444 port , then first we have to block these applications or change port of these application then we are able to run selenium.
Therefore, 4444 is the correct answer.Incorrect
By default 4444 port number is used by selenium or some other application. If there is some other application are already use 4444 port , then first we have to block these applications or change port of these application then we are able to run selenium.
Therefore, 4444 is the correct answer. -
Question 20 of 30
20. Question
Which is the odd one out?
Correct
Incorrect
-
Question 21 of 30
21. Question
To delete a cookie we need to call the deleteCookie method, passing in two parameters.
Correct
DeleteCookie: deletecookie method is used to delete specific cookies. DeleteCookie method is defined by Delete_cookie(para1 , para2) , the first parameter is the name of the cookie and the second parameter is the path of the cookie.
Therefore option A is a correct.Incorrect
DeleteCookie: deletecookie method is used to delete specific cookies. DeleteCookie method is defined by Delete_cookie(para1 , para2) , the first parameter is the name of the cookie and the second parameter is the path of the cookie.
Therefore option A is a correct. -
Question 22 of 30
22. Question
echo(): is used
Correct
Echo() command is used to display stored value of variable in the log file. This command is specially used at the time of debugging process
Therefore, both option is satisfied the question.Incorrect
Echo() command is used to display stored value of variable in the log file. This command is specially used at the time of debugging process
Therefore, both option is satisfied the question. -
Question 23 of 30
23. Question
Which regular expression sequence that loosely translates to “anything or nothing?”
Correct
Regular expression is used for searching text or value on the page. In regular expression we use dome predefine special character for searching patterns or text like *, dot, [ ], ?, + etc.
.* regular expression sequences are two-character sequence that translated as “0 or more occurrences of any character” or “anything or nothing.”
Therefore dot star are the correct answer.Incorrect
Regular expression is used for searching text or value on the page. In regular expression we use dome predefine special character for searching patterns or text like *, dot, [ ], ?, + etc.
.* regular expression sequences are two-character sequence that translated as “0 or more occurrences of any character” or “anything or nothing.”
Therefore dot star are the correct answer. -
Question 24 of 30
24. Question
Which two commands you use to validate a button?
Correct
VerifytestPresent and assertTextPresent are use to search the extract Text in the page.
VerifyElementPresent and AssertElemnetPresent are use to validate a button in the page.
VerifyAlertPresent and AssertAlertPresent are use to identify when alert is occurred.
VerifyAlert and AssertAlert are use to verify the alert text message in the alert popup window.Incorrect
VerifytestPresent and assertTextPresent are use to search the extract Text in the page.
VerifyElementPresent and AssertElemnetPresent are use to validate a button in the page.
VerifyAlertPresent and AssertAlertPresent are use to identify when alert is occurred.
VerifyAlert and AssertAlert are use to verify the alert text message in the alert popup window. -
Question 25 of 30
25. Question
Which command should be used to confirm that test will pass in the future, when new element is added after page loaded?
Correct
WaitForElementPresent : WaitForElementPresent is used to pause the execution process until expected element will not add on the page.
Pause: Pause is used to the stop or pause the execution process for specified time period.
AssertElemetPresent: AssertElemetPresent is used to identify whether the element is available on the page or not.
Therefore, WaitForElementPresent is the correct answer.Incorrect
WaitForElementPresent : WaitForElementPresent is used to pause the execution process until expected element will not add on the page.
Pause: Pause is used to the stop or pause the execution process for specified time period.
AssertElemetPresent: AssertElemetPresent is used to identify whether the element is available on the page or not.
Therefore, WaitForElementPresent is the correct answer. -
Question 26 of 30
26. Question
What is the most common way to find an element on a page?
Correct
ID: ID is a unique number or value for every element or object of system that is used for searching elements.
It is the fastest and easiest way for searching element because it search element by using getelementid function.
Xpath: Xpath is used to locate element on web page. It is also the fastest way for searching elements or objects, but it uses very complex selector in commands.
CSS selector: CCS selector is used in selenium for finding the object or element in the page or system, but it is not flexible as Xpath technique.
Name: Name is same as ID but it use name in behalf of unique id. It uses different types of filter for refining the location.
Therefore ID is the most common way for searching element.Incorrect
ID: ID is a unique number or value for every element or object of system that is used for searching elements.
It is the fastest and easiest way for searching element because it search element by using getelementid function.
Xpath: Xpath is used to locate element on web page. It is also the fastest way for searching elements or objects, but it uses very complex selector in commands.
CSS selector: CCS selector is used in selenium for finding the object or element in the page or system, but it is not flexible as Xpath technique.
Name: Name is same as ID but it use name in behalf of unique id. It uses different types of filter for refining the location.
Therefore ID is the most common way for searching element. -
Question 27 of 30
27. Question
In Selenium variables are stored in _____________
Correct
In selenium we use 2 functions for storing value into variables. store(expression, variable name) and storedvars[‘variablename’].
Therefore, as per the option only storedvars is the correct answer.Incorrect
In selenium we use 2 functions for storing value into variables. store(expression, variable name) and storedvars[‘variablename’].
Therefore, as per the option only storedvars is the correct answer. -
Question 28 of 30
28. Question
In regular Expression * quantifier refers to:
Correct
Regular expression is use to search text or value on the page. In regular expression we use dome predefine special character for searching patterns or text like *, dot, [ ], ?, + etc.
[ ]: Single character that appears inside the brackets.
*: 0 or more of the preceding character.
+: 1 or more of the preceding character.
?: 0 or 1 of the preceding character.
Therefore, option A is the correct answer.Incorrect
Regular expression is use to search text or value on the page. In regular expression we use dome predefine special character for searching patterns or text like *, dot, [ ], ?, + etc.
[ ]: Single character that appears inside the brackets.
*: 0 or more of the preceding character.
+: 1 or more of the preceding character.
?: 0 or 1 of the preceding character.
Therefore, option A is the correct answer. -
Question 29 of 30
29. Question
Which is a procedure?
Correct
Exit: Exit Command is used to exit from any execution process.
Wait: Wait Command is used to pause or wait the execution process for specified time. It is done with the help of object.
WaitForProperty: WaitForProperty command is used to pause the execution process until it matches with any specific value.
Therefore, Wait is the correct answer.Incorrect
Exit: Exit Command is used to exit from any execution process.
Wait: Wait Command is used to pause or wait the execution process for specified time. It is done with the help of object.
WaitForProperty: WaitForProperty command is used to pause the execution process until it matches with any specific value.
Therefore, Wait is the correct answer. -
Question 30 of 30
30. Question
Which is not the advantage of Selenium IDE?
Correct
Advantage of selenium:
1. Open Source and multiple execution at a time
2. Supports all browsers and operating system
3. Supports all programming languages
4. Auto complete commands
5. Use ID , name , Xpath and CSS selector
Therefore, option C is not the advantage of selenium IDE.Incorrect
Advantage of selenium:
1. Open Source and multiple execution at a time
2. Supports all browsers and operating system
3. Supports all programming languages
4. Auto complete commands
5. Use ID , name , Xpath and CSS selector
Therefore, option C is not the advantage of selenium IDE.