Grid

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
bhargav36
Posts: 3
Joined: Thu Oct 13, 2011 3:40 am

Grid

Post by bhargav36 » Thu Oct 20, 2011 5:54 pm

Hi,

I would like to know how to do the right click on a row in a grid/table ...

Thanks,

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Grid

Post by Ciege » Thu Oct 20, 2011 6:12 pm

Once you have the object you can issue a click on that object.
For example, if you have a cell object you can use the following code:

Code: Select all

cell.Click(MouseButtons.Right, Location.UpperCenter);
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Grid

Post by Support Team » Fri Oct 21, 2011 8:12 am

The "Mouse Action" in the Ranorex Recorder also provides the functionality to specify the mouse button to use.

Regards,
Alex
Ranorex Team
.
Image