Problem with adding -userExtensions option
+2
Advisor
Archana
6 posters
- ArchanaRegular Participant
- Posts : 33
Join date : 2009-08-21
Problem with adding -userExtensions option
Wed Sep 09, 2009 3:31 pm
Hi,
When I execute test suite without userextension, its working 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 userextension, its not working (
java -jar selenium-server.jar -userExtensions "C:\wamp\bin\selenium-server\core\scripts\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 the script error.
Error: testcase undefined
Line:78
file:///C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/customProfileDir661781/core/TestRunner.ht
How to solve this?
When I execute test suite without userextension, its working 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 userextension, its not working (
java -jar selenium-server.jar -userExtensions "C:\wamp\bin\selenium-server\core\scripts\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 the script error.
Error: testcase undefined
Line:78
file:///C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/customProfileDir661781/core/TestRunner.ht
How to solve this?
Re: Problem with adding -userExtensions option
Wed Sep 09, 2009 3:54 pm
hi,
try to add one option in above command , may be this will work for user extension:
-userExtensions : indicates a JavaScript file that will be
loaded into selenium
check this thread for brief summary :
https://seleniumforum.forumotion.net/archives-f8/selenium-server-command-options-while-starting-server-t89.htm
Bye
try to add one option in above command , may be this will work for user extension:
-userExtensions : indicates a JavaScript file that will be
loaded into selenium
check this thread for brief summary :
https://seleniumforum.forumotion.net/archives-f8/selenium-server-command-options-while-starting-server-t89.htm
Bye
- ArchanaRegular Participant
- Posts : 33
Join date : 2009-08-21
Re: Problem with adding -userExtensions option
Wed Sep 09, 2009 5:01 pm
Could you check my thread again?
Re: Problem with adding -userExtensions option
Wed Sep 09, 2009 5:23 pm
hi,
sorry, I misread your question . I don't use user extenstion so I am not able to tell what is the problem.
But i find very good post at official forum. Read this thread
http://clearspace.openqa.org/message/65556#65556
bye
sorry, I misread your question . I don't use user extenstion so I am not able to tell what is the problem.
But i find very good post at official forum. Read this thread
http://clearspace.openqa.org/message/65556#65556
bye
- ArchanaRegular Participant
- Posts : 33
Join date : 2009-08-21
Re: Problem with adding -userExtensions option
Wed Sep 09, 2009 5:43 pm
Hi, thank you, you have solved my problem with help link
- mattch
- Posts : 2
Join date : 2011-03-23
Re: Problem with adding -userExtensions option
Wed Mar 23, 2011 7:36 am
Hello,
You mentioned the article above fixed your problem, but the link is no longer valid. I have the same problem, could you tell me what fixed it?
Thank you!
You mentioned the article above fixed your problem, but the link is no longer valid. I have the same problem, could you tell me what fixed it?
Thank you!
- rkearney
- Posts : 6
Join date : 2011-09-20
Re: Problem with adding -userExtensions option
Tue Jan 17, 2012 11:16 pm
how did you resolve the problem , the link is broken and I have the same problme
- rkearney
- Posts : 6
Join date : 2011-09-20
Re: Problem with adding -userExtensions option
Tue Jan 17, 2012 11:17 pm
hey
did you find out how it was solved
did you find out how it was solved
- Abdulahy
- Posts : 1
Join date : 2013-08-20
Re: Problem with adding -userExtensions option
Tue Aug 20, 2013 5:47 pm
The link is broken
- chinito13
- Posts : 2
Join date : 2014-02-24
Re: Problem with adding -userExtensions option
Mon Feb 24, 2014 5:57 pm
can you share how u fix the problem?
Permissions in this forum:
You cannot reply to topics in this forum
|
|