Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Get specific item from canvas using rcptt tool(Get specific item from canvas using rcptt tool without using coordinate or height, weight)
Get specific item from canvas using rcptt tool [message #1780441] Mon, 22 January 2018 13:40 Go to next message
noor shiblee is currently offline noor shibleeFriend
Messages: 5
Registered: November 2017
Junior Member
Hello,

i am exploring rcptt tool to automate our RCP based application GUI.

I found one problem here. For canvas, it shows only the coordinate and height width.

While recording, rcptt gives the below code


with [get-editor "graph-editor" | get-canvas] {

get-figure -path "0/34" | mouse-enter 370 136 -height 104 -width 303
mouse-move 443 275 -height 506 -width 1453
mouse-exit 447 257 -height 506 -width 1453
}

But this coordinate is not always same. For different pc/screen, it varies.
I want to get the specific node or specific item from that canvas but no suggestion found.

Also in this link: http://download.xored.com/q7/docs/ecl-api/latest#get-canvas
they used coordinated as example.

Need suggestion on this.

Thanks

Re: Get specific item from canvas using rcptt tool [message #1780595 is a reply to message #1780441] Wed, 24 January 2018 11:11 Go to previous message
Viktoria Dlugopolskaya is currently offline Viktoria DlugopolskayaFriend
Messages: 124
Registered: March 2017
Senior Member
Hi Noor,

Normally, mouse coordinates which RCPTT records are not absolute and test execution result shouldn't depend on a screen resolution or a window size
Previous Topic:get-workspace-location: Resources/Variables Plugin error (Resources plugin cannot be found)
Next Topic:Random timeout errors on remote machines
Goto Forum:
  


Current Time: Wed Aug 15 10:48:47 GMT 2018

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

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

Back to the top