Hi, I use selenium to test t:tree2. My problem was how to locate the [+] or [-] icon in front of specific node. I ended up writing my own locator (in selenium terms) that traverses the DOM near the node's text and finds image tags with specific URL (plus.png/minus.png). Locating the image makes easy to call "Click" so the tree will expand. This way I can locate the [+] or [-] based on the text in the tree
See [1] as example how to build locator Regards, Svi [1] http://svn.openqa.org/svn/selenium-core/trunk/src/main/resources/core/scripts/user-extensions.js.sample (locateElementBy*) 2007/6/5, Paul Spencer <[EMAIL PROTECTED]>:
I am using Selenium to test the UI portion of my application. Currently I am having trouble testing the menus generated by the JSCookMenu. Specifically I do not know what to enter for "Target" when trying to click on the menu using the "click" command. Is any testing JSCookMenus with Selenium? What do you use for "Target" of the desired menu item for the click command? Paul Spencer