Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 845

Help with scripting needed

$
0
0

Hi, i have questions regarding scripting in transaction ABAW second screen when we post some new amount for the first time to the asset after pressing Enter we have to confirm 3 pop-up windows in a row, and we would like to do that with the script. We tried to do with the if and source .visible parameter where inside confirm button is pressed 3 times.

 

It work for the first time after we press Enter, but if we change the amount and press Enter again - the pop-up shows anyway.

 

if (session.findById("wnd[1]").visible===true) {

  session.findById("wnd[1]/tbar[0]/btn[0]").press();

  session.findById("wnd[1]/tbar[0]/btn[0]").press();

  session.findById("wnd[1]/tbar[0]/btn[0]").press();

};

 

Thanks, Diana


Viewing all articles
Browse latest Browse all 845

Trending Articles



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