Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
zlos7ar
Amateur
Amateur
Posts : 41
Join date : 2012-01-13
Age : 36
Location : Germany

[solved]how to run selenium ide test with webdriver Empty [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


Last edited by zlos7ar on Fri Jan 27, 2012 8:57 pm; edited 1 time in total
avatar
faramka
Professional
Professional
Posts : 143
Join date : 2011-09-15
Location : Poland

[solved]how to run selenium ide test with webdriver Empty Re: [solved]how to run selenium ide test with webdriver

Wed Jan 25, 2012 10:01 pm
avatar
zlos7ar
Amateur
Amateur
Posts : 41
Join date : 2012-01-13
Age : 36
Location : Germany

[solved]how to run selenium ide test with webdriver Empty 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....
avatar
zlos7ar
Amateur
Amateur
Posts : 41
Join date : 2012-01-13
Age : 36
Location : Germany

[solved]how to run selenium ide test with webdriver Empty 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][solved]how to run selenium ide test with webdriver Pic110[/img] can't find SelenseTestCase....
avatar
zlos7ar
Amateur
Amateur
Posts : 41
Join date : 2012-01-13
Age : 36
Location : Germany

[solved]how to run selenium ide test with webdriver Empty 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....
avatar
qappbc
Amateur
Amateur
Posts : 38
Join date : 2011-10-13

[solved]how to run selenium ide test with webdriver Empty 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

avatar
zlos7ar
Amateur
Amateur
Posts : 41
Join date : 2012-01-13
Age : 36
Location : Germany

[solved]how to run selenium ide test with webdriver Empty 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 ?
avatar
zlos7ar
Amateur
Amateur
Posts : 41
Join date : 2012-01-13
Age : 36
Location : Germany

[solved]how to run selenium ide test with webdriver Empty 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 Smile 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...
avatar
qappbc
Amateur
Amateur
Posts : 38
Join date : 2011-10-13

[solved]how to run selenium ide test with webdriver Empty 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
Sponsored content

[solved]how to run selenium ide test with webdriver Empty Re: [solved]how to run selenium ide test with webdriver

Back to top
Permissions in this forum:
You cannot reply to topics in this forum