mrkkhattak
15 years agoNew Contributor
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