Share
Go down
gkpandi
Active particpant
Active particpant
Posts : 14
Join date : 2013-05-23

Selenium IDE generated testcase script is not working in Selenium Webdriver

on 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
tarun3kumar
Master
Master
Posts : 186
Join date : 2012-02-14
http://seleniumtests.com

Re: Selenium IDE generated testcase script is not working in Selenium Webdriver

on Tue May 28, 2013 6:15 pm
You may like to watch some video tutorial available at my site -

www.seleniumtests.com

_________________
Thanks
Tarun K
Free Selenium Training
Back to top
Permissions in this forum:
You cannot reply to topics in this forum