Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Problem with adding -userExtensions option

View previous topic View next topic Go down

Problem with adding -userExtensions option

Post by Archana 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

Archana
Regular Participant
Regular Participant

Posts : 33
Join date : 2009-08-21

Back to top Go down

Re: Problem with adding -userExtensions option

Post by Adviser 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

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

Re: Problem with adding -userExtensions option

Post by Archana on Wed Sep 09, 2009 5:01 pm

Could you check my thread again?

Archana
Regular Participant
Regular Participant

Posts : 33
Join date : 2009-08-21

Back to top Go down

Re: Problem with adding -userExtensions option

Post by Adviser 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

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

Re: Problem with adding -userExtensions option

Post by Archana on Wed Sep 09, 2009 5:43 pm

Hi, thank you, you have solved my problem with help link Smile

Archana
Regular Participant
Regular Participant

Posts : 33
Join date : 2009-08-21

Back to top Go down

Re: Problem with adding -userExtensions option

Post by mattch 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!

mattch

Posts : 2
Join date : 2011-03-23

Back to top Go down

Re: Problem with adding -userExtensions option

Post by rkearney 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

Back to top Go down

Re: Problem with adding -userExtensions option

Post by rkearney on Tue Jan 17, 2012 11:17 pm

hey

did you find out how it was solved

rkearney

Posts : 6
Join date : 2011-09-20

Back to top Go down

Re: Problem with adding -userExtensions option

Post by Abdulahy on Tue Aug 20, 2013 5:47 pm

The link is broken Crying or Very sad

Abdulahy

Posts : 1
Join date : 2013-08-20

Back to top Go down

Re: Problem with adding -userExtensions option

Post by chinito13 on Mon Feb 24, 2014 5:57 pm

can you share how u fix the problem?

chinito13

Posts : 2
Join date : 2014-02-24

Back to top Go down

Re: Problem with adding -userExtensions option

Post by Sponsored content Today at 5:02 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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