Quantcast
Channel: THWACK: Message List - Web Performance Monitor (formerly SeUM)
Viewing all articles
Browse latest Browse all 1719

Re: WPM conditional steps

$
0
0

I had a problem where once a script failed with some error, since it didn't log out properly, the subsequent failures of the script occurred because the account was already logged in and the original error was no longer being displayed.

 

I got around this writing a version of the script that logs in to the website and then just logs out while it is in XY capture mode

  • go to website.com
  • login
  • logout

 

. I then deleted all steps of this script until only going to website and doing  the log out were part at the top.

  • go to website.com
  • logout

I then continued writing the script the way a normally would. I then set the log out steps at the top as optional.

  • go to website.com
  • logout
  • go to website.com
  • login
  • do stuff and check stuff
  • logout

 

(I just wrote a script like this and seems to be working very well).


Viewing all articles
Browse latest Browse all 1719

Trending Articles



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