Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

if (storedVars['var1'] == true in Rollups? will it work

View previous topic View next topic Go down

if (storedVars['var1'] == true in Rollups? will it work

Post by dainova on Fri Nov 02, 2012 4:48 am

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 = ${x}' });
this works as expected and returns true or false, depending if we already signin or sighnout
But then I'm trying to implement logic with this it never true, for me looks like $x is still not seen by rollup.
Another question: does output from rollup goes into Log? I don't see it in my case so I finish with Alert isntead, uff looks like there is no way to run rollup step by step,
even if you run all steps in IDE you still can loose something in js conversion.
Code:

 if (storedVars['x'] ==  true) {
       alert ('This is message TRUEEEEEE');
       commands.push({ command: 'open', target: '/' });
   }

THe problem that I never get into this if event having echoed in prev steps, can anabody help me how to overcome this, is this bad syntax or something???
Will js see actual storedVars so he can make desision, it doesn't complain about this if at least!!
Tx
Dai

dainova
Active particpant
Active particpant

Posts : 19
Join date : 2012-02-23

Back to top Go down

Re: if (storedVars['var1'] == true in Rollups? will it work

Post by dainova on Sat Nov 03, 2012 3:45 am

Yes, I just confirmed that storeText, store, storeTextPresent doesn't work from rollups to be used in IDE, as well output from Rollup doean't go into log, which make the whole idea of rollup kind of very questionable.

Tx
Dai

dainova
Active particpant
Active particpant

Posts : 19
Join date : 2012-02-23

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum