Selenium Training

Selenium Training in Java

Blog

Selenium IDE parameterization

Posted by [email protected] on September 19, 2011 at 8:15 AM

Parameterization of Selenium IDE using XML

Download the flowcontrol extension for IDE.  (“Download” is a bit of a misnomer here, as the download link takes one to an HTML page. 

Simply copy/paste only the JavaScript contents of that page into a file named goto_sel_ide.js.) Download the 1.1 version of the includeCommand4IDE extension.  (The just-released 1.2 version appears to have a serious bug.)

Download the most recent version (0.2) of the datadriven.js extension. Install these 3 extensions in IDE via the Selenium Core extensions field (accessible via Options=>Options=>General).

They must be specified in the order above!!! Re-start IDE so that all 3 extensions will get read in. Create an .xml file:

check the attached zip file.

linkText and title are variable names of my choosing.You can use any names you want, and also any number of variables you want. Thecritical thing is that each <test> container must contain allthe data–input and output–for a single test case.

View your .xml file in the browser to ensure that it does not contain any errors (only necessary if you did not use an XML editor to create the file). Utilize your .xml file via creating an HTML test case


download attched code

http://online-selenium-trainings.webs.com/selenium-extension.zip


Categories: None

Post a Comment

Oops!

Oops, you forgot something.

Oops!

The words you entered did not match the given text. Please try again.

Already a member? Sign In

4 Comments

Reply Mutturaj H
2:06 AM on February 8, 2012 
Hi,
the fallowing error is displaying

[error] Unknown command: 'loadTestData'.

plz do d neeedfull

Thnx
Mutturaj H
Hi Mutturaj.

Please use the datadriven.js from below path. This file is customized

\selenium-extension\datadriven_v0.2\datadriven_v0.2\datadriven.js


please check in the downloaded zip folder using the above path







Mutturaj H says...
Hi,
the fallowing error is displaying

[error] Unknown command: 'loadTestData'.

plz do d neeedfull

Thnx
Mutturaj H
Reply Danikadain
1:07 AM on February 19, 2013 
Hai,

I tried to use parameterization in Selenium IDE using the steps provided above.

I get the error when i restart IDE on firefox.
"""
Failed to load user-extensions.js!
files=C:\Users\Administrator\Desktop\goto_sel_ide.js, C:\Users\Administrator\Desktop\includeCommand4IDE_1_1.zip, C:\Users\Administrator\Desktop\datadriven_v0.2.zip
lineNumber=1
error=SyntaxError: illegal character
""""
Can you pls suggest solution for my problem..

Thank You
Reply abhinav
5:58 AM on April 22, 2013 
SWIFT Interview questions on

http://testwithus.blogspot.in/p/swift.htm

For selenium solution visit
http://testwithus.blogspot.in/p/blog-page.html

Upcoming Events

No upcoming events

Recent Blog Entries

Testimonials

  • "All I can say is that it was an excellent training session. Ramesh dealt each class with a lot of enthusiasm and had a clear motive on what he was about to deliver. The course c..."
    Pramod
    Test Lead
  • "Hi all, I don't have much word to say regarding this selenium training classes[ taught by Ramesh sir], but one thing i would like to share to all of you, way of teaching was su..."
    sushanth
  • "Hi All,I would like to share my views on Training conducted by Ramesh Sir w.r.t Selenium.The Trainings were exhaustive and very Explanative and very informative.He has a lot of..."
    Ramesh Sir's Tutorials on Selenium

Subscribe To Our Site