- mattch
- Posts : 2
Join date : 2011-03-23
Problem with adding -userExtensions option
Wed Mar 23, 2011 11:29 pm
Hello,
When I execute test suite without -userExtensions, it works fine
(java
-jar selenium-server.jar -htmlSuite "*iexplore"
"http://www.mysite.com" "c:\absolute\path\to\my\HTMLSuite.html"
"c:\absolute\path\to\my\results.html")
But, when I use -userExtensions, it does not work
(java -jar selenium-server.jar -userExtensions "C:\selenium\user-extensions.js" -htmlSuite "*iexplore" "http://www.mysite.com" "c:\absolute\path\to\my\HTMLSuite.html" "c:\absolute\path\to\my\results.html")
I'm getting a script error.
Error: testCase undefined
Line:19
file:///C:/....../scripts/user-extensions.js
Any idea how to solve this?
When I execute test suite without -userExtensions, it works fine
(java
-jar selenium-server.jar -htmlSuite "*iexplore"
"http://www.mysite.com" "c:\absolute\path\to\my\HTMLSuite.html"
"c:\absolute\path\to\my\results.html")
But, when I use -userExtensions, it does not work
(java -jar selenium-server.jar -userExtensions "C:\selenium\user-extensions.js" -htmlSuite "*iexplore" "http://www.mysite.com" "c:\absolute\path\to\my\HTMLSuite.html" "c:\absolute\path\to\my\results.html")
I'm getting a script error.
Error: testCase undefined
Line:19
file:///C:/....../scripts/user-extensions.js
Any idea how to solve this?
Permissions in this forum:
You cannot reply to topics in this forum