Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » How to record widget access based on widget IDs(Is it possible to record widget access based on widget IDs?)
How to record widget access based on widget IDs [message #1710186] Mon, 05 October 2015 08:46 Go to next message
Matthias Paul Scholz is currently offline Matthias Paul ScholzFriend
Messages: 40
Registered: May 2012
Member
When using the RCPTT recorder on an AUT, by default widget access gets recorded in the ECL (like "get-view", "get-table", "get-window" and so) using view names, widget labels or classes.

is it also possible to configure the recorder in a way that access is recorded using IDs that have been assigned to the widgets in the AUT? Does ECL support IDs in that regard at all?
Re: How to record widget access based on widget IDs [message #1710217 is a reply to message #1710186] Mon, 05 October 2015 12:01 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Matthias,

Right now it's not possible, but again, we could implement it as a commercial support task.

Kind regards,
Ulyana.
Re: How to record widget access based on widget IDs [message #1710218 is a reply to message #1710186] Mon, 05 October 2015 12:07 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
BTW, could you please describe in few words, why do you need to take UI widgets by ID? I'm asking, because there may be some other way to solve it (e.g. using get-by-os ECL command, setting labels as a parameters in Parameter Context, etc. ).

Kind regards,
Ulyana.
Re: How to record widget access based on widget IDs [message #1710219 is a reply to message #1710218] Mon, 05 October 2015 12:12 Go to previous message
Matthias Paul Scholz is currently offline Matthias Paul ScholzFriend
Messages: 40
Registered: May 2012
Member
Hi,

Ulyana Skorokhodova wrote on Mon, 05 October 2015 08:07
BTW, could you please describe in few words, why do you need to take UI widgets by ID? I'm asking, because there may be some other way to solve it (e.g. using get-by-os ECL command, setting labels as a parameters in Parameter Context, etc. ).


Mainly because labels or view names might change between versions of the product, have different localizations or might completely be removed.
There's also a chance that internal implementations of our derived widgets might change (which would affect "get-window -from" ECL statements, for instance).

It would be very unfortunate when all the recordings that rely on labels, view names or internal method names would have to be re-recorded again in such a case.

[Updated on: Mon, 05 October 2015 12:31]

Report message to a moderator

Previous Topic:Table cell not getting populated on Replay
Next Topic:Reading file and clipboard content.
Goto Forum:
  


Current Time: Sat Apr 27 05:13:18 GMT 2024

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

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

Back to the top