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

Export IDE code to JUNIT4, edit and import back to IDE

View previous topic View next topic Go down

Export IDE code to JUNIT4, edit and import back to IDE

Post by TurtleRock on Wed May 16, 2012 10:45 pm

Is it possible to export recorded code from IDE to JUNIT, do some modification eg. loop, or conditional statements, and import it back to IDE.

I am not able to find any loop or conditional statement command, how can we use it.

Regards,
TurtleRock

TurtleRock

Posts : 8
Join date : 2012-05-16

Back to top Go down

Re: Export IDE code to JUNIT4, edit and import back to IDE

Post by ccox on Thu May 17, 2012 12:19 am

This is not possible. You have to use the gotoIf function/while loop conditions from the user-extension.js file. These are neither backwards nor forward compatible with JUnit4/Selenium IDE as it is flow control specific to each.

ccox
Master
Master

Posts : 205
Join date : 2012-01-06
Age : 31
Location : Denver, CO

Back to top Go down

Re: Export IDE code to JUNIT4, edit and import back to IDE

Post by TurtleRock on Mon May 21, 2012 10:44 pm

Thanks ccox. I want to learn selenium, just not sure whether i should start with selenium IDE or WebDriver.

Is it like IDE and WebDriver are totally different tools, or they are for different purpose ?

TurtleRock

Posts : 8
Join date : 2012-05-16

Back to top Go down

Re: Export IDE code to JUNIT4, edit and import back to IDE

Post by ccox on Mon May 21, 2012 10:56 pm

They are very different. IDE is a great place to start. You can record scripts in IDE and convert them into the language of your choice, then use them with Webdriver. Unfortunately I am not too familiar with Webdriver yet. I would suggest starting with IDE to get an understanding and go from there.

ccox
Master
Master

Posts : 205
Join date : 2012-01-06
Age : 31
Location : Denver, CO

Back to top Go down

Re: Export IDE code to JUNIT4, edit and import back to IDE

Post by TurtleRock on Mon May 21, 2012 10:58 pm

Thank a lot ccox Smile

TurtleRock

Posts : 8
Join date : 2012-05-16

Back to top Go down

Re: Export IDE code to JUNIT4, edit and import back to IDE

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