- gkpandiActive particpant
- Posts : 14
Join date : 2013-05-23
Selenium IDE generated testcase script is not working in Selenium Webdriver
Tue May 28, 2013 1:31 pm
Hi Friends,
I'm new to Selenium Web Driver 2.0. I don't know how to start with automating my web application using Selenium Web Driver.
Even though, I tried little as I mentioned below.
1. Opened my web application
2. Started Selenium IDE to record my actions
3. I entered values for 5 input fields
4. Clicked on Submit button to save these information
5. Selenium IDE records all the action with the respective IDs and their values
6. I exported my testcase to Java / JUnit 4/ WebDriver option
7. I got one java file which contains some methods ( I'm not aware completely ).
8. Tried to use that file in Eclipse after including the "WebDriver" supporting libraries.
9. When I clicked on Run option from the Eclipse, it asked as "Select What to Run" and then "Ant Build", "Ant Build.." in the window.
I don't know what to select, so I just clicked on OK with the selection of "Ant Build" option.
Now Eclipse is displaying "Build Failed, Reason: unable to find Ant file to run"
Please guide me how to do and What wrong did I do?
Thanks in advance
I'm new to Selenium Web Driver 2.0. I don't know how to start with automating my web application using Selenium Web Driver.
Even though, I tried little as I mentioned below.
1. Opened my web application
2. Started Selenium IDE to record my actions
3. I entered values for 5 input fields
4. Clicked on Submit button to save these information
5. Selenium IDE records all the action with the respective IDs and their values
6. I exported my testcase to Java / JUnit 4/ WebDriver option
7. I got one java file which contains some methods ( I'm not aware completely ).
8. Tried to use that file in Eclipse after including the "WebDriver" supporting libraries.
9. When I clicked on Run option from the Eclipse, it asked as "Select What to Run" and then "Ant Build", "Ant Build.." in the window.
I don't know what to select, so I just clicked on OK with the selection of "Ant Build" option.
Now Eclipse is displaying "Build Failed, Reason: unable to find Ant file to run"
Please guide me how to do and What wrong did I do?
Thanks in advance
Re: Selenium IDE generated testcase script is not working in Selenium Webdriver
Tue May 28, 2013 6:15 pm
You may like to watch some video tutorial available at my site -
www.seleniumtests.com
www.seleniumtests.com
- Drag and drop of html 4 elements not working using selenium webdriver?
- how to run a testcase with selenium webdriver
- Issue in running generated build using Selenium Webdriver?
- Selenium Script which contain waitForPopUp command working in firefox not in Internet Explorer.
- Issue while running selenium webdriver script through ssh
Permissions in this forum:
You cannot reply to topics in this forum