Share
View previous topicGo downView next topic
mattA
Posts : 8
Join date : 2012-08-07

Selenium IDE to java with flow control

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?
avatar
rohit13
Master
Master
Posts : 180
Join date : 2012-03-29
Age : 31
Location : INDIA
http://radical-qa.blogspot.in/

Re: Selenium IDE to java with flow control

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/
mattA
Posts : 8
Join date : 2012-08-07

new question

on Tue Aug 07, 2012 7:27 pm
thanks but what about is text present command how would you implement that
avatar
rohit13
Master
Master
Posts : 180
Join date : 2012-03-29
Age : 31
Location : INDIA
http://radical-qa.blogspot.in/

Re: Selenium IDE to java with flow control

on Tue Aug 07, 2012 7:35 pm
Code:
assertTrue(selenium.isTextPresent("test"));

_________________
Radical QA
http://radical-qa.blogspot.in/
mattA
Posts : 8
Join date : 2012-08-07

Re: Selenium IDE to java with flow control

on Tue Aug 07, 2012 8:07 pm
is that for RC or webdriver?
Sponsored content

Re: Selenium IDE to java with flow control

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