Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» 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

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 Today at 1:00 pm


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