Failed: missing ) in parenthetical error

614 views
Skip to first unread message

Pedro Moreno

unread,
Jun 16, 2019, 12:04:07 AM6/16/19
to Selenium Users
Hi, I'm just executing a simple command on Selenium IDE for Firefox after opening a website.

This is my code:


store number
0
while ${number} < 2
echo $
{number}

end

However, when it reaches the while line, I get the following error: "
while on ${number} < 2 Failed: missing ) in parenthetical  

" ended with 1 error(s)


Is it a problem on my side or is there something wrong with Selenium IDE?

Dave Haeffner

unread,
Jun 16, 2019, 3:00:57 AM6/16/19
to Selenium Users


It's hard to know without seeing your SIDE project.

One thing, though. You'll want to use execute script to store the number since store will store the number as a string.

Here's a screenshot of a working example.

Screen Shot 2019-06-16 at 9.57.53.png
Reply all
Reply to author
Forward
0 new messages