This Question is Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
4 Replies Last post: Dec 29, 2008 8:44 AM by Anwarul Kabir  
Anwarul Kabir Beginner 15 posts since
Nov 6, 2008
Currently Being Moderated

Nov 10, 2008 1:53 PM

How to create a user-extension for Selenium IDE

What I understood from different disscussion that I have to create a user extension in order for my selenium IDE to convert HTML to CSSquery instead of XPATH.

 

But i am not sure how to do that. Is there any document on how to create an extension for selenium IDE? i never installed or downloaded core or any other selenium. just add the selenium IDE with my firfox...

 

Please help

Mahesh Advanced 89 posts since
Mar 7, 2008
Currently Being Moderated
3. Dec 25, 2008 10:47 AM in response to: Anwarul Kabir
Re: How to create a user-extension for Selenium IDE

Hi Anwarul, I tried this but it won't work; can you please help.

I did the following things after downloading the locatorBuild.js file
1) I replaced the line LocatorBuilders.order = []; with

the line LocatorBuilders.order = ['css:attributes', 'id', 'link', 'name', 'dom:name', 'xpath:link', 'xpath:img', 'xpath:attributes', 'xpath:href', 'dom:index', 'xpath:position'];

2) added the locatorBuild.js in ide IDE user extentions by browsing this file.

 

but still IDE records the xpath and ID instead of css.

More Like This

  • Retrieving data ...