Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
TurtleRock
Posts : 8
Join date : 2012-05-16

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

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
avatar
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 38
Location : Denver, CO

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

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.
avatar
TurtleRock
Posts : 8
Join date : 2012-05-16

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

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 ?
avatar
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 38
Location : Denver, CO

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

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.
avatar
TurtleRock
Posts : 8
Join date : 2012-05-16

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

Mon May 21, 2012 10:58 pm
Thank a lot ccox Smile
Sponsored content

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

Back to top
Permissions in this forum:
You cannot reply to topics in this forum