Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

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 : 32
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 : 32
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


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