- mattA
- Posts : 8
Join date : 2012-08-07
Selenium IDE to java with flow control
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?
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?
Re: Selenium IDE to java with flow control
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..
You are getting such error coz java doesn't support this command..
So change this code to java language code..
- mattA
- Posts : 8
Join date : 2012-08-07
new question
Tue Aug 07, 2012 7:27 pm
thanks but what about is text present command how would you implement that
Re: Selenium IDE to java with flow control
Tue Aug 07, 2012 7:35 pm
- Code:
assertTrue(selenium.isTextPresent("test"));
- mattA
- Posts : 8
Join date : 2012-08-07
Re: Selenium IDE to java with flow control
Tue Aug 07, 2012 8:07 pm
is that for RC or webdriver?
Permissions in this forum:
You cannot reply to topics in this forum
|
|