Wednesday, November 19, 2014
On 1:03 AM by Unknown No comments
Answer 15: Yes, you can first record individual test cases and then group all
of them in a test suite. Following this entire test suite could be executed
instead of executing individual tests.
Answer 16: There are largely three types of verification points available with
Selenium –
- Check for page title
- Check for certain text
- Check for certain element (text box, drop down, table etc.)
Answer17:
Verification: A verification check lets test execution continue
even in the wake of failure with check.
Assertion: Assertion
stops the test execution once the failure is obtained and would not continue
further.
Consider an example of
checking text on page, you may like to use verification point and let test
execution continue even if text is not present. But for a login page, you would
like to add assertion for presence of text box login as it does not make sense
continuing with test execution if login text box is not present.
Subscribe to:
Post Comments (Atom)
Search
Popular Posts
-
Sample Selenium IDE Test Script by Recording: We will use the Mercury Tours website as our web application under test. It is an online flig...
-
Answer 1 : Selenium is a browser automation tool which lets you automated operations like – type, click, and selection from a drop down o...
-
Answer 27 : You can use “store” command to achieve this. You can save result of an evaluation in a variable and use it later in your Sele...
-
Selenium Commands – Selenese Selenese commands can have up to a maximum of two parameters: target and value. Parameters are not required al...
-
Answer 48 : Use pause command which takes time in milliseconds and would pause test execution for specified time – pause ( waitTime )...
-
Answer 57 : You can specify port while running the selenium server as – java -jar selenium-server.jar –port 5555 Answer 58 : ...
-
Answer 18 : You need to use context menu to add check points to your Selenium IDE tests Answer 19 : There are two ways to edit tests...
-
Locating GUI Elements Locating elements in WebDriver is done by using the “findElement(By. locator ())” method. The “locator” part of the co...
-
Introduction to WebDriver & Comparison with Selenium RC Hope you have learned to create simple tests in Selenium IDE, we shall now creat...
-
Answer 60 : While using java you need to create instance of DefaultSelenium class and pass it four parameters – selenium = ne...
Shaik. Powered by Blogger.
0 comments:
Post a Comment