Share
Go down
avatar
Archana
Regular Participant
Regular Participant
Posts : 33
Join date : 2009-08-21

Problem with adding -userExtensions option

on 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?


Last edited by Archana on Wed Sep 09, 2009 5:00 pm; edited 1 time in total
avatar
Advisor
------------------------
------------------------
Posts : 383
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

Re: Problem with adding -userExtensions option

on 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 :
http://seleniumforum.forumotion.net/archives-f8/selenium-server-command-options-while-starting-server-t89.htm

Bye
avatar
Archana
Regular Participant
Regular Participant
Posts : 33
Join date : 2009-08-21

Re: Problem with adding -userExtensions option

on Wed Sep 09, 2009 5:01 pm
Could you check my thread again?
avatar
Advisor
------------------------
------------------------
Posts : 383
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

Re: Problem with adding -userExtensions option

on 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
avatar
Archana
Regular Participant
Regular Participant
Posts : 33
Join date : 2009-08-21

Re: Problem with adding -userExtensions option

on Wed Sep 09, 2009 5:43 pm
Hi, thank you, you have solved my problem with help link Smile
mattch
Posts : 2
Join date : 2011-03-23

Re: Problem with adding -userExtensions option

on 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!
rkearney
Posts : 6
Join date : 2011-09-20

Re: Problem with adding -userExtensions option

on 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

on Tue Jan 17, 2012 11:17 pm
hey

did you find out how it was solved
Abdulahy
Posts : 1
Join date : 2013-08-20

Re: Problem with adding -userExtensions option

on Tue Aug 20, 2013 5:47 pm
The link is broken Crying or Very sad
chinito13
Posts : 2
Join date : 2014-02-24

Re: Problem with adding -userExtensions option

on Mon Feb 24, 2014 5:57 pm
can you share how u fix the problem?
Sponsored content

Re: Problem with adding -userExtensions option

Back to top
Permissions in this forum:
You cannot reply to topics in this forum