Share
Go down
sdirkx
Posts : 3
Join date : 2013-02-12

unknown command "if"?!

on Tue Feb 12, 2013 4:00 pm
I created a regression set with Selenium IDE and that works fine now, but now I'm doing so knowledge transfer to a colleague and the following happened:

The versions we BOTH use:
-Firefox 13.0.1 (no possibility to update this to a more recent version at the moment)
-Selenium 1.8.1 (according to the Selenium releases notes I choose this version because this was the first with official support for Firefox 13. Nevertheless, I also used Selenium 1.6 with Firefox 13 and that also worked).

Then, when I try to execute the regression set on the PC of my colleague, I get an error: "Unknown command: if". How is it possible that Selenium is not able to recognize/execute the "if"-command?!

To able to find a similar problem of solution by using Google Search, so I hope to get some answers here.

Thanks in advance!

Regards,

Steffen
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 33
Location : Denver, CO

Re: unknown command "if"?!

on Tue Feb 12, 2013 10:19 pm
There is no "if" command built into Selenium IDE. There is a gotoIf command that is available through a commonly used user-extension file. If you are using the user-extension file with the "if" statement in it, and your colleague does not have this extension file, you will get the error you are describing.

Hopefully that makes sense.
sdirkx
Posts : 3
Join date : 2013-02-12

Re: unknown command "if"?!

on Tue Feb 12, 2013 10:54 pm
OK, that probably helps! Then I need to also install the other plugins that I use. My assumption was that "if" was so basic, that it had to be in the 'core' of the Selenium IDE plugin.

I also have:
-Selenium SEL blocks
-File logging
-Highlight Elements
-Power Debugger
-Stored variables
-Favorites
-Log Search Bar

Any idea where the "if"-command is incorporated in?

Will test tomorrow...
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 33
Location : Denver, CO

Re: unknown command "if"?!

on Tue Feb 12, 2013 11:07 pm
The SEL Blocks add-in is your culprit. Add that to the other machine and you should be good to go!
sdirkx
Posts : 3
Join date : 2013-02-12

Re: unknown command "if"?!

on Wed Feb 13, 2013 5:02 pm
Yes, that's it. Thanks!
Sponsored content

Re: unknown command "if"?!

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