Right clicking on a specific row from the grid
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2010
10:26 PM
03-23-2010
10:26 PM
Right clicking on a specific row from the grid
Hi,
I recently started automating testing using TestComplete. Currently it records the right click as the following:
Aliases["MyApp"]["ZoneSequence1"]["WindowContentTabbed1"]["TabControl"]["DataForm"]["toolStripContainer1"]["ToolStripContentPanel"]["GridView"]["ClickR"](242, 216);
When running the automated test, I would like to select a specific row and right click on that one e.g. following is my required row:
Aliases["MyApp"]["ZoneSequence1"]["WindowContentTabbed"]["TabControl"]["DataForm"]["toolStripContainer1"]["ToolStripContentPanel"]["GridView"]["Rows"]["Item"](1)["S_NO"]="25";
How could I right click on it as the current ClickR method in C# is expecting only x, y positions?
Thanks in advance.
-Meraj
I recently started automating testing using TestComplete. Currently it records the right click as the following:
Aliases["MyApp"]["ZoneSequence1"]["WindowContentTabbed1"]["TabControl"]["DataForm"]["toolStripContainer1"]["ToolStripContentPanel"]["GridView"]["ClickR"](242, 216);
When running the automated test, I would like to select a specific row and right click on that one e.g. following is my required row:
Aliases["MyApp"]["ZoneSequence1"]["WindowContentTabbed"]["TabControl"]["DataForm"]["toolStripContainer1"]["ToolStripContentPanel"]["GridView"]["Rows"]["Item"](1)["S_NO"]="25";
How could I right click on it as the current ClickR method in C# is expecting only x, y positions?
Thanks in advance.
-Meraj
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2010
02:20 AM
03-24-2010
02:20 AM
Any help in this regard?
I would like to select a specific row and right click on that in MS data grid view?
Thanks.
I would like to select a specific row and right click on that in MS data grid view?
Thanks.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2010
06:04 AM
03-24-2010
06:04 AM
Hi Meraj,
You can use the script provided in the following How To entry - just replace the left click action with a right click:
http://www.automatedqa.com/support/viewarticle.aspx?aid=8998
Best regards,
Alexey
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
