Why do you use assert and verify statements in Selenium RC without referring to selenium?
Submitted by: AdministratorSeleneseTestCase is the class which is having
1. assertTrue
2. verifyTrue
3. assertEquals
4. verifyEquals
We use SeleneseTestCase class to extend the selenium test class file.
For Ex: the test class is declared as follows
public class BookFlightSel1 extends SeleneseTestCase
In the above example SeleneseTestCase is the base class and BookFlightSel1 is the derived class. So, we can directly call and use the parent class methods verify and assert without instantiating the class in BookFlightSel1 class.
Submitted by: Administrator
1. assertTrue
2. verifyTrue
3. assertEquals
4. verifyEquals
We use SeleneseTestCase class to extend the selenium test class file.
For Ex: the test class is declared as follows
public class BookFlightSel1 extends SeleneseTestCase
In the above example SeleneseTestCase is the base class and BookFlightSel1 is the derived class. So, we can directly call and use the parent class methods verify and assert without instantiating the class in BookFlightSel1 class.
Submitted by: Administrator
Read Online Selenium RC Job Interview Questions And Answers
Top Selenium RC Questions
☺ | What is the difference between Thread.Sleep() and Selenium.setSpeed()? |
☺ | How to run selenium commands in slow motion in Selenium RC? |
☺ | How to incude or exclude the selenium rc test cases using xml in TestNG? |
☺ | How to execute the selenium test suite with testNG in XML? |
☺ | What are the limitations of selenium RC? |
Top Software Testing Categories
☺ | Selenium Interview Questions. |
☺ | Soft Skills Interview Questions. |
☺ | Automation Testing Interview Questions. |
☺ | Software Quality Control Interview Questions. |
☺ | Testing Estimation Interview Questions. |