I use Selenium IDE.I needed if-else
construction and I found a Javascript file. I used the file in IDE easily. However when I tried to use the file with Selenium RC, I followed the steps:
Opened selenium.jar file and changed the user-extensions file(this file is in core->scripts->user-extensions) with what I found(which includes if-else functions) from internet.
I started selenium rc with the command:
-java -jar selenium.jar -userExtensions user-extensions.js -htmlSuite "*chrome" "linkofsite" "staj\Projects\SikayetTestleri.html" "result2.html" -port 4445
Selenium server started firefox but nothings happend...