As described in my previous post, We can create junit test suite to execute multiple test cases from one place. See example of my previous post. junittest2 class have two @Test methods. Now If I wants to exclude/Ignore 1st @Test method from execution and wants to execute only 2nd @Test method then how can I do It? Ignoring specific test in junit test is very easy.

If you are planning to perform regression testing of any software web application using webdriver software testing then obviously there will be multiple test cases or test classes under your webdriver project. Example - There are 2 junit test cases of software web application under your project's package. Now if you wants to run both of them then how will you do it? Simple and easy solution is creating JUnit test suite. If your project has more than 2 test cases of software web application then you can create test suite for all those test cases to run all test cases from one place.

If you see selenium IDE commands with examples on COMMAND LIST PART 1 and COMMAND LIST PART 2, You will find many commands to perform different actions on web page. But still selenium IDE have not any commands to perform few actions directly like showing hidden element or hiding any

Before discussing on enabling/disabling any element in selenium IDE, Let me tell you one thing - Selenium IDE is less powerful compared to Selenium RC and WebDriver, we can not perform all the tasks in selenium IDE. But still we can automate simple flows very easily in selenium IDE compared to webdriver because

Data parameterization in selenium or data driven test is must required thing of any software automation testing tool. If you can not perform data driven testing in any software automation tool then it is biggest drawback of that tool. Till now, Selenium webdriver software automation testing tool has not any built in structure or method to parameterize your test. If you know, we can perform data driven testing using user extension in selenium IDE software testing tool. You can view practical example of selenium IDE parameterization test on THIS ARTICLE POST. To data parameterization in selenium webdriver test, We need support of Java Excel API. First of all, we need to configure eclipse. Configuration steps are as bellow.

We can know element's enabled/disabled status very easily using isEnabled() method in selenium webdriver software test as described in THIS EXAMPLE POST. Now supposing you have a scenario where you wants to enable any disabled text box or disable any enabled text box during software test execution then how to do it? Webdriver do not have any built in method by which you perform this action. But yes, Webdriver has JavascriptExecutor interface by which we can execute any javascript using executeScript() method.

Selenium WebDriver software testing tool has built in "WebDriver.switchTo().window()" method available to switch from one window to another window so it is very easy to handle multiple windows in webdriver. If you remember, We can use "selectWindow" window command in selenium IDE software testing tool to select another window. If window do not have any title or both window has same title then it was very difficult to select other window in selenium IDE software testing tool. WebDriver software testing tool has made it very easy. You can handle multiple windows even if all the windows do not have any title or contains same title.

As we all knows, Each and every software web application contains many number of different links/URLs. Some of them are redirecting to some page of same website and others are redirecting to any external software web application. One of my blog reader has requested the webdriver software test script example for extracting all these links from page and print it in console using selenium webdriver. I have created and published many different WEBDRIVER EXAMPLE SCRIPTS on this blog but requested example by blog reader is not pushed till now so I have created example for the same to share with all of you.

Assume you have prepared test case for your software web application test scenario (using selenium webdriver with eclipse and junit) and now you wants generate log file to insert your execution time log messages in to it. How you will do it? Selenium webdriver software testing tool don't have any built in function or method to generate log file. In this case you can use apache logging service. Let me describe you steps to generate log file in selenium webdriver test for software web application.

Most of all software web applications contains list box or drop downs on web page and "assertSelectedId" and "assertSelectedIds" commands are very useful to verify and assert the ids of selected label/s from list box. Both these are very good alternatives of "assertSelectedIndex", "assertSelectedIndexes",

As you know, WebDriver is software web application regression testing tool and you will face many problems during your webdriver test case creation and execution. You must knows alternate solution if one not works for your software automation test scenario. For example, you have used IMPLICIT WAIT in your software automation test case but if it is not sufficient to handle your condition of waiting till element becomes invisible from page then you can use it's alternative way of using EXPLICIT WAIT in your test case.

In any software application regression test case, you need to verify and wait for different conditions as per test scenario requirement. Selenium IDE has many different buit in VERIFICATION and WAITFOR commands to handle that particular situation. Today we will look at "verifyElementNotPresent" and

Selenium WebDriver is totally freeware software testing tool and we can use it for software web application regression purpose. Hovering mouse on main menu or any other element of web page or simulating mouse movement in webdriver is not very tough task. As you know, We can perform most of actions and operations directly in webdriver software testing tool and you can VIEW FEW OF THEM ON THIS PAGE. But there are also some actions which we can not perform directly in webdriver and to perform them, we need to use some tricky ways. Generating mouse hover event is one of them.

Capturing screenshot of software web application page is very easy in selenium webdriver. As we knows, It is very basic required thing in software automation tools to capture screenshot on test case failure or whenever required during test case execution. VIEW MORE SELENIUM WEBDRIVER BASIC COMMANDS for your webdriver knowledge improvement and use them in your software web application test case creation.

Some times you need to verify the presence of element before taking some action on software web application page. As you know, Selenium IDE has many built in commands to perform different types of actions on your software web application page. You can verify presence of element by using "verifyElementPresent" command in selenium IDE software testing tool. Also you can view example of  selenium IDE software testing tool's "verifyElementNotPresent" command. Webdriver have not any built in method or interface by which we can verify presence of element on the page of software web application. There is not iselementpresent method in Selenium WebDriver.

We have seen many examples of webdriver's findElement() in my previous posts. You will find syntax of findElement() with example on THIS PAGE if you wants to use it in your software web application test case. Selenium WebDriver software testing tool has one more related method findElements. Now main question is what is the difference between findElement and findElements methods in selenium 2 software automation tool? First of all let me provide you difference description and then example.

In my earlier posts, we have learnt few BASIC ACTION COMMANDS of selenium WebDriver software testing tool with examples. You will have to use them on daily basis for you software web application's webdriver test case preparation. It is very important for you to use them on right time and right place. Now let we learn 3 more action commands of webdriver.

Earlier we had seen how to verify selected value of drop down or list box using LABEL, VALUE and INDEX. In selenium IDE, there is one more command is "verifySelectedId" to verify id of selected value in drop down or list box. If your drop down value contains id attribute then you can use it to select it. Let me

In my earlier tutorial of selenium webdriver software testing tool, we learn few basic action commands of selenium WebDriver like HOW TO CLICK ON BUTTON, IMPLICIT WAIT, EXPLICIT WAIT etc. THIS LINK will show you more different examples of basic action commands of selenium webdriver software testing tool. As you know, Drop down is also essential element of any software web application page. So it is important to know that how to control or take action on drop down list like selecting specific value from drop down list using selenium webdriver/selenium 2.