How to record widget access based on widget IDs [message #1710186] |
Mon, 05 October 2015 04:46  |
Eclipse User |
|
|
|
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 #1710219 is a reply to message #1710218] |
Mon, 05 October 2015 08:12  |
Eclipse User |
|
|
|
Hi,
Ulyana Skorokhodova wrote on Mon, 05 October 2015 08:07BTW, 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 08:31] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03490 seconds