Menu using aspx table

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
User avatar
Tobynz
Posts: 3
Joined: Wed Oct 06, 2010 11:44 pm
Location: Christchurch, New Zealand

Menu using aspx table

Post by Tobynz » Fri Oct 08, 2010 3:18 am

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
You do not have the required permissions to view the files attached to this post.
Toby Martin
Test Lead

"If you chase two rabbits, both will get away"

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Menu using aspx table

Post by Support Team » Fri Oct 08, 2010 8:46 am

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