IDE: gotoIf, checking storedVars for range(list)

dainova at 02h07
IDE: gotoIf, checking storedVars for range(list)

Hi, is there any way to rerrange my code so I can write it more beutiful:
this works fine:
gotoIF | storeVars['x'] = 'JAN' | target2

but can i use something like below specifiying the array(list of elements):
gotoIF | storeVars['x'] = 'JAN', 'MAR', 'APR' | target2 //it doesn't work for me

I can with this though (||= or, &&=and):
gotoIF | storeVars['x'] = 'JAN' || storeVars['x'] = 'MAR' storeVars['x'] = 'APR' | target2

Or [......]
This topic belongs to the forum
  • Numbers of topics : 2338
  • Numbers of messages : 6053
  • Numbers of users : 5040
  • Numbers of points : 139
Similar topics
hi, all I have this in my rollup: Code: commands.push({ command: 'storeTextPresent', target: 'Sign In', value: 'x' }); commands.push({ command: 'echo', target: 'Rollup:CheckSignIn. 1.User sign in =
Can anyone give me an explanation on how to use the gotoIf function? Basically just some examples would really help. I understand the while function really well and have been using it for a lot, but I feel like the gotoIf function is more appropriate fo
HI, all I'm trying to implement logic where I check if ${month} exists in predefined static list , e.g. (Jan, Feb, Mar, Sep). Then if YES do gotoIF target1 if NOT gotoIF target2. We actively using js user extensions in our framework, and trying to sta
I'm brand new to Selenium. Trying to get a very simple test running just to start learning the tool. Using Windows 7 but I get the exact same problem on another PC running XP. I installed the Selenium IDE in FF 3.6 and I installed Selenium RC 1.0.1. I use
Just checking in to see if anybody is still here. This forum is sooo quiet lately. What's everyone up to? I sincerely hope that everyone is out and about pain free living their lives and that's why they're not here.
Forums from same category