Quantcast
Channel: SCN: Message List - SAP GUI
Viewing all articles
Browse latest Browse all 6448

Personas: Passing a value along the transaction UI flow failed.

$
0
0


Hi guys,

 

I am having an issue and hope some of you can give me a hand:

 

On my Personas home screen (let's call it ScreenA):

      There is a textbox field, called txtTF, for user to type in a Notification number, say 1234.

      There is a script button (let's call it Btn_A) to execute transaction IW22.

      There is another script button, called Btn_B, which contains the following action scripts:

                "Copy Value" of txtTF into a var called myVar.

                Then apply the "Push" on Btn_A (ie exec IW22). After this, the Screen_B(see below) should be shown.

                 "Paste Value" of myVar into  the field usrTxt on Screen_B.

 

There is another UI screen (let's call it ScreenB) which is shown after running IW22. On this UI,

     There is a userarea field(let's call it usrTxt). Its id is: ses[0]/wnd[0]/usrUSRAREA/ctxtRIWO00QMNUM 

     The notification number should be pasted here. By default, it is empty.

 

Test procedures:

First fill some number in txtTF, then click Btn_B. Only at the first time, the Screen_B is shown correctly with usrTxt filled by the value.

 

Error:

For some reasons, when the same test procedures are run later, it pops out an error message something like:

 

"Step 2 of the executed script failed!

  Reason: Control not found"

 

I don't understand why the id of the control on the second UI cannot be found. Does anyone had such an issue before?

 

Thanks very much in advance!

 

Dong Zhu


Viewing all articles
Browse latest Browse all 6448

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>