Selenium IDE “assertSelectedLabels” and “assertSelectedValues” Commands With Examples

First of all please look at THIS POST where I have described difference between label and value in drop down or list box. Don’t get confused from these two words. Selenium IDE has many assertion commands and all of them are designed for different purpose. Here i am going to describe you “assertSelectedLabels” and “assertSelectedValues” commands … Read more

Selenium IDE “waitForVisible” and “waitForNotVisible” Commands

Setting wait condition in Selenium IDE or webdriver means pausing your test case execution till expected wait condition match with actual wait condition. You can view different wait condition examples for selenium IDE in THIS LINK and for web driver on THIS LINK. Selenium IDE has 2 related waiting commands to wait till element’s visibility … Read more

Example Of Junit Timeout And Expected Exception Test For WebDriver

Sometimes you need to set time out for your webdriver test or you need to set expected exception condition for your test. Supposing you have written test for one module and you wants to set timeout for your test. Here timeout means allowed maximum time to complete full test. Same way, You are expecting some exception … Read more

Example Of Difference Between @Before/@After VS @BeforeClass/@AfterClass In JUnit With WebDriver

Many readers are asking me the difference between JUnit annotations @Before VS @BeforeClass and @After VS @AfterClass in webdriver software automation test. If you have read my JUNIT ANNOTATIONS POST, I have clearly described difference between @Before and @BeforeClass annotations and @After and @AfterClass annotations in bold text. Now let me describe once more and then we will look at … Read more