tag:blogger.com,1999:blog-3302102753324425376.post6806533883670481390..comments2023-12-21T04:36:53.782-08:00Comments on 51 Elliot: Selenium IDE Sideflow Update 1Darrenhttp://www.blogger.com/profile/00230771763285373052noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-3302102753324425376.post-82334542818588513362012-02-08T09:56:42.351-08:002012-02-08T09:56:42.351-08:00I've added the ability to add function calls t...I've added the ability to add function calls to sideflow.js. This version has a simple adjustable stack size, and is even capable of recursion (there are function, endFunction, call, and callIf commands). There is still no local scoping, or function parameters, but still it's better than nothing. Let me know if you'd like me to send this to you for inclusion in the official version.Jaredhttps://www.blogger.com/profile/01458743517663972155noreply@blogger.comtag:blogger.com,1999:blog-3302102753324425376.post-43345523982317223842012-02-04T15:01:43.793-08:002012-02-04T15:01:43.793-08:00Allan, use storeEval | parseInt(storedVars['x&...Allan, use storeEval | parseInt(storedVars['x'] | x and this should no longer be a problem. I also used JavaScript to increment my variables using parseInt (which changes strings to numbers if a number) storeEval | (parseInt(storedVars['x'] + 1) | x. Selenium still saves it as a string but the increments happen at JavaScript. The only thing is make sure your counter is also parsed. Worked for me and issued just 1 number without the +'s.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3302102753324425376.post-15082278466259430362011-11-19T09:39:05.570-08:002011-11-19T09:39:05.570-08:00One tweak to consider is the 'store' state...One tweak to consider is the 'store' statement inside the while loop should be 'storeEval'. Store results in x being a formula: new Number(new Number(new Number(new Number(new Number(10 +1) +1) +1) +1) +1). This may be a problem on large while loops.Unknownhttps://www.blogger.com/profile/01060380656016234428noreply@blogger.comtag:blogger.com,1999:blog-3302102753324425376.post-81354349835366409482011-09-05T08:25:02.010-07:002011-09-05T08:25:02.010-07:00Hi FedeRH, sorry for the late reply. Could you ple...Hi FedeRH, sorry for the late reply. Could you please post an issue on Github including your operating system, Firefox and Selenium IDE version numbers. Thanks, D.Darrenhttps://www.blogger.com/profile/00230771763285373052noreply@blogger.comtag:blogger.com,1999:blog-3302102753324425376.post-43128239358638537632011-08-30T13:01:49.779-07:002011-08-30T13:01:49.779-07:00Hi Darren, I've found this information most us...Hi Darren, I've found this information most useful. I'm trying to use the WHILE function with a numeric expression but I keep getting errors<br /><b>[error] Exception occured in incrementVal: Value of the provided variable is not a number.</b>FedeRHnoreply@blogger.comtag:blogger.com,1999:blog-3302102753324425376.post-53884685937253981612011-08-30T01:50:10.994-07:002011-08-30T01:50:10.994-07:00I'm a beginner Selenium user and this seems aw...I'm a beginner Selenium user and this seems awesome, just what I was looking for. Thanks!Moahttp://moanandorf.comnoreply@blogger.com