I'm trying to select a number of buttons on an application that I'm testing. Currently I'm using the 'PushButton' command and pressing in sequential order as seen in the script below, there are actually 9 cameras on test but the script below only shows 3. What I'd like to do however is select them randomly. I've tried using Random (see below)but am obviously not doing something right. Can anyone help please?
Code: Select all
PushButton>LCS,Camera 1
Wait>1
PushButton>LCS,Camera 2
Wait>1
PushButton>LCS,Camera 3
Wait>1
Code: Select all
Random>{Camera 1, Camera 9},rand
Let>rand=rand+1
PushButton>LCS,%rand%