- zlos7arAmateur
- Posts : 41
Join date : 2012-01-13
Age : 36
Location : Germany
[solved]how to run selenium ide test with webdriver
Wed Jan 25, 2012 7:34 pm
hi guys
I have some tests made with selenium IDE but I want to be able to test in other browsers too
so can anyone help me with a guide how to configure java and webdriver (im using netbeans) and convert my tests in java
i tried to export my test as JUnit but when i open the file in netbeans i have errors on almost all lines......
or if there is a way to convert my tests in php that will be the perfect solution
I have some tests made with selenium IDE but I want to be able to test in other browsers too
so can anyone help me with a guide how to configure java and webdriver (im using netbeans) and convert my tests in java
i tried to export my test as JUnit but when i open the file in netbeans i have errors on almost all lines......
or if there is a way to convert my tests in php that will be the perfect solution
- faramkaProfessional
- Posts : 143
Join date : 2011-09-15
Location : Poland
Re: [solved]how to run selenium ide test with webdriver
Wed Jan 25, 2012 10:01 pm
- zlos7arAmateur
- Posts : 41
Join date : 2012-01-13
Age : 36
Location : Germany
Re: [solved]how to run selenium ide test with webdriver
Wed Jan 25, 2012 10:32 pm
hi thanks for the info but still not working
I have to remove the line < ?xml version="1.0" encoding="UTF-8"? > only from the test suite or from all the tests ? I removed it from all tests and its not working....
I have to remove the line < ?xml version="1.0" encoding="UTF-8"? > only from the test suite or from all the tests ? I removed it from all tests and its not working....
- zlos7arAmateur
- Posts : 41
Join date : 2012-01-13
Age : 36
Location : Germany
Re: [solved]how to run selenium ide test with webdriver
Wed Jan 25, 2012 10:41 pm
I installed Eclipse. Exported my test as Junit4 (WebDriver Backed) and added all the libraries but i guess im still missing something (look at the picture)
[img][/img] can't find SelenseTestCase....
[img][/img] can't find SelenseTestCase....
- zlos7arAmateur
- Posts : 41
Join date : 2012-01-13
Age : 36
Location : Germany
Re: [solved]how to run selenium ide test with webdriver
Wed Jan 25, 2012 11:34 pm
if someone can send me the right library for the SelenseTestCase would be great, because for some reason the latest file in the official website does not have it inside....
- qappbcAmateur
- Posts : 38
Join date : 2011-10-13
Re: [solved]how to run selenium ide test with webdriver
Thu Jan 26, 2012 2:15 pm
1) Cannot see your image - too small here
2) Use SeleneseTestBase instead or better...
3) Do no extend the class. Use DefaultSelenium since SeleneseTestCase has been deprecated
2) Use SeleneseTestBase instead or better...
3) Do no extend the class. Use DefaultSelenium since SeleneseTestCase has been deprecated
- zlos7arAmateur
- Posts : 41
Join date : 2012-01-13
Age : 36
Location : Germany
Re: [solved]how to run selenium ide test with webdriver
Thu Jan 26, 2012 3:38 pm
https://i.servimg.com/u/f41/17/21/82/03/pic111.png
here is a bigger picture
The code is automatically generated by the selenium IDE export function
Im kinda new to java can you help me with an example of how to change it ?
here is a bigger picture
The code is automatically generated by the selenium IDE export function
Im kinda new to java can you help me with an example of how to change it ?
- zlos7arAmateur
- Posts : 41
Join date : 2012-01-13
Age : 36
Location : Germany
Re: [solved]how to run selenium ide test with webdriver
Thu Jan 26, 2012 4:19 pm
I managed to make it work thanks for the advice
Just one more question Is there a way to make it test a bit slower so i can see what exactly is going on and I also want to make it not close the browser when something fails...
Just one more question Is there a way to make it test a bit slower so i can see what exactly is going on and I also want to make it not close the browser when something fails...
- qappbcAmateur
- Posts : 38
Join date : 2011-10-13
Re: [solved]how to run selenium ide test with webdriver
Fri Jan 27, 2012 2:02 am
selenium.setSpeed("2000"); //where speed = 2000mS
In java you can avoid the line - selenium.close()
Selenium.close() - closes the browser
selenium.stop() - closes the RC log window
In java you can avoid the line - selenium.close()
Selenium.close() - closes the browser
selenium.stop() - closes the RC log window
- I downloaded and installed Selenium WebDriver Jar files in my Eclipse, but still i am facing issues and couldn't run the webdriver scripsts.
- IceCream FrameWork : Base on Selenium Webdriver and run test on Excelfile
- How to minimize test cases execution time Vs timeout failures in Selenium WebDriver
- Need a talented Test Automation Enginer with expertise in HP QTP and/or Selenium WebDriver - Immediate Hire - Chicago land area
- Using Selenium Webdriver to test drop down menu (menu within menu)
Permissions in this forum:
You cannot reply to topics in this forum