Page 1 of 1

Menu using aspx table

Posted: Fri Oct 08, 2010 3:18 am
by Tobynz
Hi

I am trying to select a sub item on a menu created in .aspx that is using a table like format. I cannot search for all items with a visible tag as this tag is not visible until the mouse is hovered over the top level of the menu i.e.toolbar menu shows sub items only when mouse hovers over the toolbar text, sub items are then displayed below.

I have attached a SPY snapshot of the item i am trying to get to and a screenshot of the menu. Any help would be appreciated - we are evaluating Ranorex for our product testing but if I cant get to my menus we are stuck.

Thanks

Re: Menu using aspx table

Posted: Fri Oct 08, 2010 8:46 am
by Support Team
Hi,

If you only want to identify the objects, you can use a different RxPath. You can use for example the InnerText attribute instead of the visible state. If you want to check if the item exists you can use the Exists method of Ranorex. API Documentation http://www.ranorex.com/Documentation/Ra ... Exists.htm

Please also take a look to our screencasts about the RxPath. There will be explained what's possible with RxPath http://www.ranorex.com/support/screencasts.html
You can also record the item with the Recorder and take a look to the code of the Recorder, how he solves the problem.

Regards,
Peter
Ranorex Team