Thanks Morpheus.
I will add the "wait for page load" on the most critical failures and see how it behaves.
Will also migrate the script to a better VM.
Loop section within a script random amount of times before moving on
-
Can someone provide an example code of looping a section within a script a random amount of times before moving on?
Thanks
-
@juniperberry said in Loop section within a script random amount of times before moving on:
Can someone provide an example code of looping a section within a script a random amount of times before moving on?
Thanks
Use the "for" loop and the "Random Number" action
-
Doesn't seem to be working, I want to run the script, then once it gets to a certain part, loop a section of the script, then once its looped the amount of random times, move on.
I'm putting the 'for loop' part before looped section and the current loop repetition after, but it doesn't work, just runs the script as if there isnt the 'for loop' included.
Cheers for any help
-
@juniperberry said in Loop section within a script random amount of times before moving on:
Doesn't seem to be working, I want to run the script, then once it gets to a certain part, loop a section of the script, then once its looped the amount of random times, move on.
I'm putting the 'for loop' part before looped section and the current loop repetition after, but it doesn't work, just runs the script as if there isnt the 'for loop' included.
Cheers for any help
-
thanks man!