Which are the annotations generated with JUnit 4 tests in Selenium IDE?
Submitted by: AdministratorThe annotations generated with JUnit 4 tests in Selenium are:
1. @Before public void method() - Will perform the method() before each test. This method can prepare the test
2. @Test public void method() - Annotation @Test identifies that this method is a test method.environment, e.g. read input data, initialize the class)
3. @After public void method() - Test method must start with test@Before - this annotation is used for executing a method before.
Submitted by: Administrator
1. @Before public void method() - Will perform the method() before each test. This method can prepare the test
2. @Test public void method() - Annotation @Test identifies that this method is a test method.environment, e.g. read input data, initialize the class)
3. @After public void method() - Test method must start with test@Before - this annotation is used for executing a method before.
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. |