Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Selenium WebDriver Integration
Tue Nov 21, 2017 1:06 pm by azharuddin

» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

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 : 32
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 : 32
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