Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

» Selenium IDE Verify different Maps (Hybridview, Mapview etc.)
Fri Nov 25, 2016 9:56 pm by DJ87

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

[solved]how to run selenium ide test with webdriver

View previous topic View next topic Go down

[solved]how to run selenium ide test with webdriver

Post by zlos7ar on 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

zlos7ar
Amateur
Amateur

Posts : 41
Join date : 2012-01-13
Age : 28
Location : Germany

Back to top Go down

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

Post by faramka on Wed Jan 25, 2012 10:01 pm


faramka
Professional
Professional

Posts : 143
Join date : 2011-09-15
Location : Poland

Back to top Go down

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

Post by zlos7ar on 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....

zlos7ar
Amateur
Amateur

Posts : 41
Join date : 2012-01-13
Age : 28
Location : Germany

Back to top Go down

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

Post by zlos7ar on 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....

zlos7ar
Amateur
Amateur

Posts : 41
Join date : 2012-01-13
Age : 28
Location : Germany

Back to top Go down

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

Post by zlos7ar on 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....

zlos7ar
Amateur
Amateur

Posts : 41
Join date : 2012-01-13
Age : 28
Location : Germany

Back to top Go down

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

Post by qappbc on 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


qappbc
Amateur
Amateur

Posts : 38
Join date : 2011-10-13

Back to top Go down

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

Post by zlos7ar on Thu Jan 26, 2012 3:38 pm

https://i41.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 ?

zlos7ar
Amateur
Amateur

Posts : 41
Join date : 2012-01-13
Age : 28
Location : Germany

Back to top Go down

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

Post by zlos7ar on 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...

zlos7ar
Amateur
Amateur

Posts : 41
Join date : 2012-01-13
Age : 28
Location : Germany

Back to top Go down

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

Post by qappbc on 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

qappbc
Amateur
Amateur

Posts : 38
Join date : 2011-10-13

Back to top Go down

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

Post by Sponsored content Today at 11:03 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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