Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Right Click positioning to the incorrect location in the replay mode
Right Click positioning to the incorrect location in the replay mode [message #1795864] Mon, 01 October 2018 13:31
Kaneez Abbas is currently offline Kaneez AbbasFriend
Messages: 4
Registered: June 2018
Junior Member
We have data in a tabular format which is split into three columns.
I have to perform right click on a word on any line in the second column.
Ideally on right click, it should present me a context menu.

The second column has the below header (which is basically a string) -
MSG_SRCLINEHDR=*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9 ...+... *

Each pointer indicates 100 pixels and based on this we calculate the x,y coordinate.

So, in the below script, we are performing right click on line no 10, position 3 as per the header.

with [get-editor TestObject| get-table] {
get-cell 10 1 | mouse down Right -x 300 -y 0
get-cell 10 1 | mouse up Right -x 300 -y 0
get-menu -path "More Info" | click

The interesting thing is,
- When the header is present, the replay works correctly
- When the header is missing, right click is always performed on the first line despite whichever line I select.

I am unable to understand how setting the header is helping RCPTT position to the correct word.

Has anyone faced the same problem or have any pointers regarding this?

Previous Topic:RCPTT runner with suites option
Next Topic:AUT freezing when replaying test for large amount of data
Goto Forum:

Current Time: Mon Mar 04 18:34:49 GMT 2024

Powered by FUDForum. Page generated in 0.03632 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top