Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

Problem with adding -userExtensions option Empty 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?


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

Problem with adding -userExtensions option Empty 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
Archana
Archana
Regular Participant
Regular Participant
Posts : 33
Join date : 2009-08-21

Problem with adding -userExtensions option Empty Re: Problem with adding -userExtensions option

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

Problem with adding -userExtensions option Empty 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
Archana
Archana
Regular Participant
Regular Participant
Posts : 33
Join date : 2009-08-21

Problem with adding -userExtensions option Empty Re: Problem with adding -userExtensions option

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

Problem with adding -userExtensions option Empty 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!
avatar
rkearney
Posts : 6
Join date : 2011-09-20

Problem with adding -userExtensions option Empty 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
avatar
rkearney
Posts : 6
Join date : 2011-09-20

Problem with adding -userExtensions option Empty Re: Problem with adding -userExtensions option

Tue Jan 17, 2012 11:17 pm
hey

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

Problem with adding -userExtensions option Empty Re: Problem with adding -userExtensions option

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

Problem with adding -userExtensions option Empty Re: Problem with adding -userExtensions option

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

Problem with adding -userExtensions option Empty Re: Problem with adding -userExtensions option

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