Why is SAP GUI script recording using different spellings for the same field?
e.g.
session.findById("wnd[0]/usr/ctxt$8A-YEAR").text
session.findById("wnd[0]/usr/ctxt[1]").text
And how to influence it?thanks
Marco
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hello Stefan,
I recorded entries in the same field in a selection screen of a report with "script recording & playback" at two different point of times.
At the first point of time the Recorder wrote:
session.findById("wnd[0]/usr/ctxt[1]").text.
A few weeks later the Recorder wrote, while doing exactly the same as before:
session.findById("wnd[0]/usr/ctxt$8A-YEAR").text.
If I try to run the older scripts with the first spelling, then they don't run anymore. Only if I record a new script with the second spelling, it runs well again. But I would like have that under control. Is there an individual Setting, that might have changed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.