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

unknown command "if"?!

View previous topic View next topic Go down

unknown command "if"?!

Post by sdirkx 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

sdirkx

Posts : 3
Join date : 2013-02-12

Back to top Go down

Re: unknown command "if"?!

Post by ccox 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.

ccox
Master
Master

Posts : 205
Join date : 2012-01-06
Age : 31
Location : Denver, CO

Back to top Go down

Re: unknown command "if"?!

Post by sdirkx 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...

sdirkx

Posts : 3
Join date : 2013-02-12

Back to top Go down

Re: unknown command "if"?!

Post by ccox 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!

ccox
Master
Master

Posts : 205
Join date : 2012-01-06
Age : 31
Location : Denver, CO

Back to top Go down

Re: unknown command "if"?!

Post by sdirkx on Wed Feb 13, 2013 5:02 pm

Yes, that's it. Thanks!

sdirkx

Posts : 3
Join date : 2013-02-12

Back to top Go down

Re: unknown command "if"?!

Post by Sponsored content Today at 8:11 am


Sponsored content


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