Share
View previous topicGo downView next topic
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

Selenium RC-Java

on Thu Jan 31, 2013 7:13 pm
Hi,

Can some one provide concepts n material of java required for selenium RC....

plz provide it if available

Thnx in advance....
Poonam12031990
Active particpant
Active particpant
Posts : 18
Join date : 2013-01-29

Re: Selenium RC-Java

on Fri Feb 01, 2013 3:42 pm
hi,
are you using eclipse?
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

Re: Selenium RC-Java

on Fri Feb 01, 2013 3:48 pm
yep....
Poonam12031990
Active particpant
Active particpant
Posts : 18
Join date : 2013-01-29

Re: Selenium RC-Java

on Fri Feb 01, 2013 4:04 pm
then export a test case in selenium ide. follow the steps below:
file-->Export test case as--->Java/Junit3 or 4/Remote Control
save the file with '.java' extension in your system.
make sure you have all the jar files and Junit files installed in your system.
In eclipse, create a new project and import the jar and junit files.
add the java file to your source and just make sure you have following functions:


@Before
public void setUp() throws Exception {
selenium = new DefaultSelenium("localhost", 4444, "browser name(*iexplore)", "base url");
selenium.start();
}

@After
public void tearDown() throws Exception {
selenium.stop();
}

your test case sits between these two func.........

hope i answered your question
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

Re: Selenium RC-Java

on Fri Feb 01, 2013 4:09 pm
ok thnqq poonam... Smile
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

Re: Selenium RC-Java

on Fri Feb 01, 2013 5:16 pm
poonam thnq for providing the inf... do u hav any material so tht quick reference cn be done
Poonam12031990
Active particpant
Active particpant
Posts : 18
Join date : 2013-01-29

Re: Selenium RC-Java

on Fri Feb 01, 2013 5:31 pm
no i dont.............jus net Crying or Very sad
Sponsored content

Re: Selenium RC-Java

View previous topicBack to topView next topic
Permissions in this forum:
You cannot reply to topics in this forum