Accessing dynamic xpath from treeview

What version of Selenium Core is Selenium IDE based on?

There are no relations between version numbers of Selenium IDE and Selenium. Some versions of Selenium IDE use unreleased versions of Selenium Core. You can check the version of Selenium Core for each version of Selenium IDE at http://www.openqa.org/selenium-ide/download.action

Is there an IE version of Selenium IDE?

No, at this time Selenium IDE works for Firefox only. You can write your test scripts via IDE and then use the Selenium Core/TestRunner to execute them on IE.

Why doesn't everything I do get recorded?

Not every event will be recorded by Selenium IDE. Usually the ones that won't be recorded are those that involve complex HTML and/or AJAX. We hope to improve this over time, but there will always be situations where the IDE can't record everything because it has to balance recording too little with too much.

You are encouraged to get used to the Selenium commands and use Selenium IDE's excellent editor capabilities to piece together your test by hand. We recommend you use the "Find" button to verify your element locators as you are doing this.

Firefox 2 (2.0.0.3) has a bug: text field input that you auto-complete from history does not generate the normal JavaScript event. So, Selenium IDE cannot record it. The work-around is to manually finish typing the input, instead of selecting from auto-complete.

    How to acess dynamically created xpaths?I have a application in which i am testing tree view...it  dynamically creates ids for selected nodes....As selection of these nodes doesnt record in selenium ide...what shd i add to acess these ids/xpaths? 

Why does selectWindow(name=null) return the error "Window does not exist. If this looks like a Selenium bug, make sure to read http://selenium-core.openqa.org/reference.html#openWindow for potential workarounds"?

This is because the correct call is selectWindow(null). Just make the change manually to the selectWindow() call and things will be fine.

article writing service

<!-- BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P

Unknown macro: { font-family}

-->| article writing service |

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Mar 03, 2009

    rashmi says:

    I want to acess xpath which generates dynamically frm tree view.The application ...

    I want to acess xpath which generates dynamically frm tree view.The application is developed in gtw. I am facing this problem of acessing dynamically genrated ids in tree view...its urgent...what shd i do to solve this problem?

  2. May 03, 2011

    Satish says:

    Hi Rashmi, Try out with writing code manually using following command: In Comm...

    Hi Rashmi,

    Try out with writing code manually using following command:

    In Command field type- "clickAndWait"

    In Target field type- "link=Variable"(Variable in the sense the value name that needs to be edited)

  3. May 03, 2011

    Satish says:

    when I used the link command it worked perfect.This is due to the tree view code...

    when I used the link command it worked perfect.This is due to the tree view code is recorded as "treeForm:cpgTree:43::nodeLink" for a single parent record.Hence we can use command "link=" in Target field.

    But due to code changes the tree view records are now dispalyed as "treeForm:cpgTree:43::nodeLabel"

    I tried using "label=" command but no use.I even tried using xpath for that tree view record.It will fail the test case if the tree view records are increased.

    Please let me know if there is an alternate way to solve the problem..ASAP

  4. Feb 09

    Yamini Kotharu says:

    Hi, In my application,I need to select an autopopulated item for which I used c...

    Hi,

    In my application,I need to select an autopopulated item for which I used click, type and then click commands but click, type were successfull but clicking on autopopulated item always fails.

    I tried giving xpath but still it failed with error [error] Element id=active-menu-item not found

    Please let me know the best way to handle this kind of scenario in selenium IDE