How to click a container

Ask general questions here.
Posts: 62
Joined: Wed Mar 09, 2011 4:40 pm

How to click a container

Post by vengaishiva » Thu Nov 17, 2011 2:53 pm

I am using Ranorex 3.0.1. In my UI ,I have 4 tabs. When I spy, Ranorex identifies all 4 tabs as container.
I want to click a specific container to proceed. But I can't click at the correct tab. How can i click. I am giving you the code here.

Element ele = @"/form[@controlname='MainForm']/container[@caption='panelContainer']/container[@controlname='MyOrders']";


In the above code, it can identify the element and randomly clicks at some location, not where the container is located.

Please help,

Siva R S

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

Re: How to click a container

Post by Support Team » Thu Nov 17, 2011 3:08 pm


It seems that Ranorex cannot identify the taps and therefore just shows it all as container.
Are you testing a specific technology like Flex, Java, ...?
If yes, please update to the new Ranorex version and perform the appropriate technology instrumentation.
Can you also post us a Ranorex snapshot of the taps?

Ranorex Support Team