We have seen how to configure system and eclipse in configuration part 1 and configuration part 2 posts to generate Selenium webdriver HTML test report. Now we have a test case and build.xml file in our project tree. Let me describe you few steps of configuring and running build.xml file in eclipse. Now follow the bellow given build.xml file configuration steps to generate HTML report

Webdriver test result generation is very important and essential part of automation testing and for that you need to configure your eclipse accordingly. Before eclipse and ant configuration, you need to configure your system as described in Part - 1. Now let me describe you the steps of eclipse configuration to generate web driver test execution report using JUnit. Perform bellow given steps.

Many people facing issues in JUnit report generation configuration using ant and eclipse. If every thing is not setup properly then it will give you one or another error and you will be not able to generate JUnit software test case execution report for your webdriver test case. Let me describe you few system configuration steps in this post and eclipse configuration steps in my next post to generate JUnit test execution report very easily and without any error.

Unit testing framework JUnit has many annotations to control the flow and activity of code execution of selenium webdriver software test cases. You must need to insert JUnit annotation inside the java code to execute your software test case as junit test case. You can look in my previous post where i have used JUnit @Test annotation before software test method. Let me describe you mostly used 3 JUnit Annotations with example. You can view more details on JUnit at http://junit.org/.

We have already discussed about how to download and install junit in eclipse to run webdriver automation software test in my previous post. Please note that you need to add junit jar file only if it is not available in webdriver software testing tool's jar file folder. If it is already there with webdriver jar file folder then you not need to do anything to create and run junit test. Now let me describe you how to create webdriver test case using junit.

"verifyNotAlert" and "assertNotAlert" are assertion commands of selenium IDE. Both are works opposite to "verifyAlert" and "assertAlert" commands. First of all you look at example of "verifyAlert" and "assertAlert" Commands and then execute bellow given example to understand actual function of

"runScript" command can be used for the different purpose in different condition. You can use it to run any java script in selenium IDE. View my previous 3 posts where i have described how to use "runScript" command for different purpose. Today we are taking one example of changing page title using "runScript"

"runScript" command Example 1 and Example 2 will describe you how to generate alert message in selenium IDE. Now let we go at next step. Supposing i have a drop down containing labels Volvo, Saab, Opel, Audi, Toyota and Renault. I want to pick one specific label from it to store it in to variable to

Before learning "storePrompt" and "verifyPrompt" commands, you should be aware about the difference between alert, confirmation and prompt. You will see 3 buttons on this link. 1. Show me Confirmation, 2. Show Me Alert and 3. Show Me Prompt. Press each one by one and see difference between them. Prompt