SAP regression tests

Ask general questions here.
io2022
Posts: 1
Joined: Tue Oct 25, 2022 1:14 pm

SAP regression tests

Post by io2022 » Fri Oct 28, 2022 8:08 am

Hello everyone, I'm new here and couldn't find an answer on my own. I already tried to create a couple of regression test in SAP applications and although the work around of doing copypaste is working, I wonder if there is a nice way I can get the document number, thats been created along the test as output variable. Example:
The result of my transaction is usually a document number( red box), that i would like to have saved as variable. Any clues? :shock:

IvanF
Posts: 151
Joined: Thu Aug 11, 2022 8:55 pm

Re: SAP regression tests

Post by IvanF » Fri Oct 28, 2022 2:56 pm

Hi, assuming by "red box" you mean that the element is visible and could be tracked with Spy,
1. You would need to make sure that element is added to the repository
2. You can use "Get value" action to store the doc number from the repository item of step 1
getvalue.png
You do not have the required permissions to view the files attached to this post.