Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Regarding Alert Interface
Fri Feb 24, 2017 2:00 pm by karthikeyakumar

» Geting issues in identifying the elsements in webdriver
Fri Feb 17, 2017 4:41 pm by janbaskt

» WebDriver - why not to use a singlton for it?
Fri Feb 17, 2017 4:40 pm by janbaskt

» WebDriver session when using testng annotation to invoke driver instance
Fri Feb 17, 2017 4:39 pm by janbaskt

» Selenium fails to launch Chrome
Fri Feb 17, 2017 4:39 pm by janbaskt

» why do i get this error
Fri Feb 17, 2017 4:38 pm by janbaskt

» Selenium Tutorial
Thu Feb 16, 2017 5:21 pm by Rahul

» When to use Selenium IDE, RC and WebDriver
Mon Feb 13, 2017 2:35 pm by azharuddin

» How to integrate selenium with ZAPI-Zephyr
Sat Feb 11, 2017 2:25 am by gseera002c

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


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