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

Selenium IDE to java with flow control

View previous topic View next topic Go down

Selenium IDE to java with flow control

Post by mattA on Tue Aug 07, 2012 2:50 am

I was working with selenium IDE and added the Flow Control Plugin it
worked great and finished the task. However, I now need it to work in
java. I downloaded all the code using the export as junit4 webdriver
and there was just a lot of errors saying error caught exception[error:
unsupported command [gotoIf]] along with other errors. Is there a way to
get flow control with the webdriver?

mattA

Posts : 8
Join date : 2012-08-07

Back to top Go down

Re: Selenium IDE to java with flow control

Post by rohit13 on Tue Aug 07, 2012 12:06 pm

You can directly implement such code/login in java language itself..
You are getting such error coz java doesn't support this command..
So change this code to java language code..

_________________
Radical QA
http://radical-qa.blogspot.in/

rohit13
Master
Master

Posts : 180
Join date : 2012-03-29
Age : 30
Location : INDIA

http://radical-qa.blogspot.in/

Back to top Go down

new question

Post by mattA on Tue Aug 07, 2012 7:27 pm

thanks but what about is text present command how would you implement that

mattA

Posts : 8
Join date : 2012-08-07

Back to top Go down

Re: Selenium IDE to java with flow control

Post by rohit13 on Tue Aug 07, 2012 7:35 pm

Code:
assertTrue(selenium.isTextPresent("test"));

_________________
Radical QA
http://radical-qa.blogspot.in/

rohit13
Master
Master

Posts : 180
Join date : 2012-03-29
Age : 30
Location : INDIA

http://radical-qa.blogspot.in/

Back to top Go down

Re: Selenium IDE to java with flow control

Post by mattA on Tue Aug 07, 2012 8:07 pm

is that for RC or webdriver?

mattA

Posts : 8
Join date : 2012-08-07

Back to top Go down

Re: Selenium IDE to java with flow control

Post by Sponsored content Today at 1:19 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