Quantcast
Channel: SCN : Unanswered Discussions - SAP GUI
Viewing all articles
Browse latest Browse all 2552

Variable Scope & 'PUSH'

$
0
0

I just want to check my understanding of life of the 'args' variables in a Personas script.

 

If I copy an on screen variable, it is available for use within the same script and therefore I can paste the saved variable to perhaps an area of a different flavour further down my script.

 

If however in my main script (MS1) I copy a variable - VARA contains the value 'hello'....

 

... and then in the course of that script, I make a conditional choice; If Condition A PUSH Button 1 (sub-script 1); If Condition B PUSH Button 2 (SS2), etc...

 

.... will VARA still contain 'hello' when I try to pick it up in SS1 and SS2?

 

I seem to be getting inconsistent results and hence I'm getting a little confused.

 

Any advice much appreciated,

 

Thanks.

Patrick.

 



Viewing all articles
Browse latest Browse all 2552

Trending Articles



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