Selenium HTML Runner Documentation

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Selenium HTML Runner Documentation

Selenium - Users mailing list
Can anyone point me in the direction of any documentation for the new Selenium 3, Selenium HTML Runner?

Or help me with this:

With Selenium 2 I used to be able to run the following from cmd line or .ps1, how can I do this with Selenium 3?

java -jar selenium-server-standalone-2.53.1.jar -htmlSuite "*firefox [path]" "http://ci.domain.com/" $specFileName $resultFileName

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/7e5d4cf2-6066-499b-89be-eeea955f42ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Selenium HTML Runner Documentation

Kory Grandy
java -jar selenium-html-runner-3.01.jar -htmlSuite "*firefox [path]" "http://ci.domain.com/" $specFileName $resultFileName


On Sunday, September 18, 2016 at 7:20:30 AM UTC-5, Shunt wrote:
Can anyone point me in the direction of any documentation for the new Selenium 3, Selenium HTML Runner?

Or help me with this:

With Selenium 2 I used to be able to run the following from cmd line or .ps1, how can I do this with Selenium 3?

java -jar selenium-server-standalone-2.53.1.jar -htmlSuite "*firefox [path]" "<a href="http://ci.domain.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;">http://ci.domain.com/" $specFileName $resultFileName

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/84c6b810-ea43-4216-89f5-1c41dd7dd536%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Selenium HTML Runner Documentation

Selenium - Users mailing list
Thanks. This would suggest that all I need to do is download the new jar and change the path e.g.

Old
 java -jar C:\Selenium\Server\selenium-server-standalone-2.53.1.jar -htmlSuite $browserAgent $ciServer $specFileName $resultFileName

New
 java -jar C:\Selenium\Server\selenium-html-runner-3.0.1.jar -htmlSuite $browserAgent $ciServer $specFileName $resultFileName

However, I now get an error:

Exception in thread "main"
java.nio.file.InvalidPathException: Illegal char <:> at index 9: firefox C:\Program Files (x86)\Mozilla Firefox\firefox.exe.results

S

On Wednesday, 19 October 2016 09:30:31 UTC+1, Kory Grandy wrote:
java -jar selenium-html-runner-3.01.jar -htmlSuite "*firefox [path]" "<a href="http://ci.domain.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;">http://ci.domain.com/" $specFileName $resultFileName


On Sunday, September 18, 2016 at 7:20:30 AM UTC-5, Shunt wrote:
Can anyone point me in the direction of any documentation for the new Selenium 3, Selenium HTML Runner?

Or help me with this:

With Selenium 2 I used to be able to run the following from cmd line or .ps1, how can I do this with Selenium 3?

java -jar selenium-server-standalone-2.53.1.jar -htmlSuite "*firefox [path]" "<a href="http://ci.domain.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;">http://ci.domain.com/" $specFileName $resultFileName

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/6225fc5b-6d0c-4963-972c-a20a4ca068b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Selenium HTML Runner Documentation

dwillson
Did anyone ever point to the documentation, as requested in the OP?

I put an Issue (https://github.com/SeleniumHQ/selenium/issues/4153) for missing documentation in the GitHub project, but they closed it as a question and referred me here.

Now, I have another question: How do I prove that there is no documentation so that I may enter an Issue, rather than asking if there's documentation?

Me: Dear developers, there is no documentation for this non-trivial piece of software.
Them: Prove it.
Me: Um... I can't find the documentation.
Them: That's *your* problem.
Me: True.

On Sunday, November 13, 2016 at 11:36:41 AM UTC-7, Shunt wrote:
Thanks. This would suggest that all I need to do is download the new jar and change the path e.g.

Old
 java -jar C:\Selenium\Server\selenium-server-standalone-2.53.1.jar -htmlSuite $browserAgent $ciServer $specFileName $resultFileName

New
 java -jar C:\Selenium\Server\selenium-html-runner-3.0.1.jar -htmlSuite $browserAgent $ciServer $specFileName $resultFileName

However, I now get an error:

Exception in thread "main"
java.nio.file.InvalidPathException: Illegal char <:> at index 9: firefox C:\Program Files (x86)\Mozilla Firefox\firefox.exe.results

S

On Wednesday, 19 October 2016 09:30:31 UTC+1, Kory Grandy wrote:
java -jar selenium-html-runner-3.01.jar -htmlSuite "*firefox [path]" "<a href="http://ci.domain.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;">http://ci.domain.com/" $specFileName $resultFileName


On Sunday, September 18, 2016 at 7:20:30 AM UTC-5, Shunt wrote:
Can anyone point me in the direction of any documentation for the new Selenium 3, Selenium HTML Runner?

Or help me with this:

With Selenium 2 I used to be able to run the following from cmd line or .ps1, how can I do this with Selenium 3?

java -jar selenium-server-standalone-2.53.1.jar -htmlSuite "*firefox [path]" "<a href="http://ci.domain.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;">http://ci.domain.com/" $specFileName $resultFileName

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/5bfeb6d4-71a6-48c3-b5f9-735527e3ea5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Selenium HTML Runner Documentation

Krishnan Mahadevan

David,

 

While someone helps you with the information that you are looking for, I was wondering if you could please help elaborate as to what sort of documentation are you looking for? Maybe that would help someone to share some additional information for you on this.

 

I noticed that there’s some basic help built into the standalone runner jar itself, which can be viewed when you run:

 

09:47 $ java -jar selenium-html-runner-3.4.0.jar -help

Usage: <main class> [options]

  Options:

    -help, --help, -h

       This help message

       Default: false

  * -htmlSuite

       Run an HTML Suite: '*browser' 'http://baseUrl.com'

       'path\to\HTMLSuite.html' 'c:\absolute\path\to\my\results.html'

    -timeout

       Timeout to use in seconds

       Default: 30

    -userExtensions

       User extensions to attempt to use.

 

Would that suffice ?

 

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of <[hidden email]>
Reply-To: <[hidden email]>
Date: Monday, June 12, 2017 at 10:38 PM
To: Selenium Users <[hidden email]>
Subject: [selenium-users] Re: Selenium HTML Runner Documentation

 

Did anyone ever point to the documentation, as requested in the OP?

I put an Issue (https://github.com/SeleniumHQ/selenium/issues/4153) for missing documentation in the GitHub project, but they closed it as a question and referred me here.

Now, I have another question: How do I prove that there is no documentation so that I may enter an Issue, rather than asking if there's documentation?

Me: Dear developers, there is no documentation for this non-trivial piece of software.
Them: Prove it.
Me: Um... I can't find the documentation.
Them: That's *your* problem.
Me: True.

On Sunday, November 13, 2016 at 11:36:41 AM UTC-7, Shunt wrote:

Thanks. This would suggest that all I need to do is download the new jar and change the path e.g.

Old
 java -jar C:\Selenium\Server\selenium-server-standalone-2.53.1.jar -htmlSuite $browserAgent $ciServer $specFileName $resultFileName

New
 java -jar C:\Selenium\Server\selenium-html-runner-3.0.1.jar -htmlSuite $browserAgent $ciServer $specFileName $resultFileName

However, I now get an error:

Exception in thread "main"
java.nio.file.InvalidPathException: Illegal char <:> at index 9: firefox C:\Program Files (x86)\Mozilla Firefox\firefox.exe.results

S

On Wednesday, 19 October 2016 09:30:31 UTC+1, Kory Grandy wrote:

java -jar selenium-html-runner-3.01.jar -htmlSuite "*firefox [path]" "http://ci.domain.com/" $specFileName $resultFileName


On Sunday, September 18, 2016 at 7:20:30 AM UTC-5, Shunt wrote:

Can anyone point me in the direction of any documentation for the new Selenium 3, Selenium HTML Runner?

Or help me with this:

With Selenium 2 I used to be able to run the following from cmd line or .ps1, how can I do this with Selenium 3?

java -jar selenium-server-standalone-2.53.1.jar -htmlSuite "*firefox [path]" "http://ci.domain.com/" $specFileName $resultFileName

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/5bfeb6d4-71a6-48c3-b5f9-735527e3ea5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/73D38431-4C19-40EF-ACEA-14D43AEE73EB%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Selenium HTML Runner Documentation

dwillson
Krishnan,

Thank you for attempting to be helpful. I had found that, but it's not sufficient. I have lots of questions that the documentation might answer, and have made discoveries by my fumbling attempts to use the tool that the documentation might have helped me avoid or understand.

Examples:

What are the valid values for '*browser'? What are the dependencies? How do I handle common errors? One of my Selenium IDE actions is to "hit enter on the keyboard", but it's not working in HTML Runner. How do I "hit enter" in a way that works in both interpreters? An 'HTMLSuite' page without a path gets interpreted as a page in 'baseURL'. 'results.html' looks like a file, but it's a directory.

I really want the documentation. If there *isn't* any documentation, it seems premature for http://docs.seleniumhq.org/download/ to say: "To run Selenium tests exported from IDE, use the Selenium Html Runner." Because, at least for me and my use cases, without documentation, it's not possible to use it. maybe "try" would be a better word, setting more appropriate expectations.

--David

On Monday, June 12, 2017 at 10:19:37 PM UTC-6, Krishnan wrote:

David,

 

While someone helps you with the information that you are looking for, I was wondering if you could please help elaborate as to what sort of documentation are you looking for? Maybe that would help someone to share some additional information for you on this.

 

I noticed that there’s some basic help built into the standalone runner jar itself, which can be viewed when you run:

 

09:47 $ java -jar selenium-html-runner-3.4.0.jar -help

Usage: <main class> [options]

  Options:

    -help, --help, -h

       This help message

       Default: false

  * -htmlSuite

       Run an HTML Suite: '*browser' '<a href="http://baseUrl.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2FbaseUrl.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHu9nHmH7G0XBszZ63kLSEQjqJteQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2FbaseUrl.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHu9nHmH7G0XBszZ63kLSEQjqJteQ&#39;;return true;">http://baseUrl.com'

       'path\to\HTMLSuite.html' 'c:\absolute\path\to\my\results.html'

    -timeout

       Timeout to use in seconds

       Default: 30

    -userExtensions

       User extensions to attempt to use.

 

Would that suffice ?

 

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ <a href="http://wakened-cognition.blogspot.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;">http://wakened-cognition.blogspot.com/

My Technical Scribbings @ <a href="http://rationaleemotions.wordpress.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;">http://rationaleemotions.wordpress.com/

 

From: <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="pjGY0yQsAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com> on behalf of <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="pjGY0yQsAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dwil...@...>
Reply-To: <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="pjGY0yQsAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com>
Date: Monday, June 12, 2017 at 10:38 PM
To: Selenium Users <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="pjGY0yQsAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com>
Subject: [selenium-users] Re: Selenium HTML Runner Documentation

 

Did anyone ever point to the documentation, as requested in the OP?

I put an Issue (<a href="https://github.com/SeleniumHQ/selenium/issues/4153" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FSeleniumHQ%2Fselenium%2Fissues%2F4153\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-yVO4oKD3NrG5ptsWxxY2DvuYmA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FSeleniumHQ%2Fselenium%2Fissues%2F4153\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-yVO4oKD3NrG5ptsWxxY2DvuYmA&#39;;return true;">https://github.com/SeleniumHQ/selenium/issues/4153) for missing documentation in the GitHub project, but they closed it as a question and referred me here.

Now, I have another question: How do I prove that there is no documentation so that I may enter an Issue, rather than asking if there's documentation?

Me: Dear developers, there is no documentation for this non-trivial piece of software.
Them: Prove it.
Me: Um... I can't find the documentation.
Them: That's *your* problem.
Me: True.

On Sunday, November 13, 2016 at 11:36:41 AM UTC-7, Shunt wrote:

Thanks. This would suggest that all I need to do is download the new jar and change the path e.g.

Old
 java -jar C:\Selenium\Server\selenium-server-standalone-2.53.1.jar -htmlSuite $browserAgent $ciServer $specFileName $resultFileName

New
 java -jar C:\Selenium\Server\selenium-html-runner-3.0.1.jar -htmlSuite $browserAgent $ciServer $specFileName $resultFileName

However, I now get an error:

Exception in thread "main"
java.nio.file.InvalidPathException: Illegal char <:> at index 9: firefox C:\Program Files (x86)\Mozilla Firefox\firefox.exe.results

S

On Wednesday, 19 October 2016 09:30:31 UTC+1, Kory Grandy wrote:

java -jar selenium-html-runner-3.01.jar -htmlSuite "*firefox [path]" "<a href="http://ci.domain.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;">http://ci.domain.com/" $specFileName $resultFileName


On Sunday, September 18, 2016 at 7:20:30 AM UTC-5, Shunt wrote:

Can anyone point me in the direction of any documentation for the new Selenium 3, Selenium HTML Runner?

Or help me with this:

With Selenium 2 I used to be able to run the following from cmd line or .ps1, how can I do this with Selenium 3?

java -jar selenium-server-standalone-2.53.1.jar -htmlSuite "*firefox [path]" "<a href="http://ci.domain.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;">http://ci.domain.com/" $specFileName $resultFileName

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="pjGY0yQsAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">selenium-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="pjGY0yQsAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/5bfeb6d4-71a6-48c3-b5f9-735527e3ea5a%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/5bfeb6d4-71a6-48c3-b5f9-735527e3ea5a%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/5bfeb6d4-71a6-48c3-b5f9-735527e3ea5a%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/5bfeb6d4-71a6-48c3-b5f9-735527e3ea5a%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/fa389146-0535-4bf7-8637-ee69622d8c36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Selenium HTML Runner Documentation

Krishnan Mahadevan

David,

 

If you could please help call out your questions as bullet items, I can try looking at the code and answering them for you (to the best of my abilities).

 

Maybe somewhere down the line, once we have sufficient answers to all your questions, we could think of creating a pull request and sending it as a delivery to the Selenium documentation project viz.,

 

 

I am not sure which of these are the documentation project going forward (I believe it’s the latter one)

 

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of <[hidden email]>
Reply-To: <[hidden email]>
Date: Wednesday, June 14, 2017 at 9:43 PM
To: Selenium Users <[hidden email]>
Subject: Re: [selenium-users] Re: Selenium HTML Runner Documentation

 

Krishnan,

Thank you for attempting to be helpful. I had found that, but it's not sufficient. I have lots of questions that the documentation might answer, and have made discoveries by my fumbling attempts to use the tool that the documentation might have helped me avoid or understand.

Examples:

What are the valid values for '*browser'? What are the dependencies? How do I handle common errors? One of my Selenium IDE actions is to "hit enter on the keyboard", but it's not working in HTML Runner. How do I "hit enter" in a way that works in both interpreters? An 'HTMLSuite' page without a path gets interpreted as a page in 'baseURL'. 'results.html' looks like a file, but it's a directory.

I really want the documentation. If there *isn't* any documentation, it seems premature for http://docs.seleniumhq.org/download/ to say: "To run Selenium tests exported from IDE, use the Selenium Html Runner." Because, at least for me and my use cases, without documentation, it's not possible to use it. maybe "try" would be a better word, setting more appropriate expectations.

--David

On Monday, June 12, 2017 at 10:19:37 PM UTC-6, Krishnan wrote:

David,

 

While someone helps you with the information that you are looking for, I was wondering if you could please help elaborate as to what sort of documentation are you looking for? Maybe that would help someone to share some additional information for you on this.

 

I noticed that there’s some basic help built into the standalone runner jar itself, which can be viewed when you run:

 

09:47 $ java -jar selenium-html-runner-3.4.0.jar -help

Usage: <main class> [options]

  Options:

    -help, --help, -h

       This help message

       Default: false

  * -htmlSuite

       Run an HTML Suite: '*browser' 'http://baseUrl.com'

       'path\to\HTMLSuite.html' 'c:\absolute\path\to\my\results.html'

    -timeout

       Timeout to use in seconds

       Default: 30

    -userExtensions

       User extensions to attempt to use.

 

Would that suffice ?

 

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <<a href="javascript:" target="_blank">seleniu...@...> on behalf of <<a href="javascript:" target="_blank">dwil...@...>
Reply-To: <<a href="javascript:" target="_blank">seleniu...@...>
Date: Monday, June 12, 2017 at 10:38 PM
To: Selenium Users <<a href="javascript:" target="_blank">seleniu...@...>
Subject: [selenium-users] Re: Selenium HTML Runner Documentation

 

Did anyone ever point to the documentation, as requested in the OP?

I put an Issue (https://github.com/SeleniumHQ/selenium/issues/4153) for missing documentation in the GitHub project, but they closed it as a question and referred me here.

Now, I have another question: How do I prove that there is no documentation so that I may enter an Issue, rather than asking if there's documentation?

Me: Dear developers, there is no documentation for this non-trivial piece of software.
Them: Prove it.
Me: Um... I can't find the documentation.
Them: That's *your* problem.
Me: True.

On Sunday, November 13, 2016 at 11:36:41 AM UTC-7, Shunt wrote:

Thanks. This would suggest that all I need to do is download the new jar and change the path e.g.

Old
 java -jar C:\Selenium\Server\selenium-server-standalone-2.53.1.jar -htmlSuite $browserAgent $ciServer $specFileName $resultFileName

New
 java -jar C:\Selenium\Server\selenium-html-runner-3.0.1.jar -htmlSuite $browserAgent $ciServer $specFileName $resultFileName

However, I now get an error:

Exception in thread "main"
java.nio.file.InvalidPathException: Illegal char <:> at index 9: firefox C:\Program Files (x86)\Mozilla Firefox\firefox.exe.results

S

On Wednesday, 19 October 2016 09:30:31 UTC+1, Kory Grandy wrote:

java -jar selenium-html-runner-3.01.jar -htmlSuite "*firefox [path]" "http://ci.domain.com/" $specFileName $resultFileName


On Sunday, September 18, 2016 at 7:20:30 AM UTC-5, Shunt wrote:

Can anyone point me in the direction of any documentation for the new Selenium 3, Selenium HTML Runner?

Or help me with this:

With Selenium 2 I used to be able to run the following from cmd line or .ps1, how can I do this with Selenium 3?

java -jar selenium-server-standalone-2.53.1.jar -htmlSuite "*firefox [path]" "http://ci.domain.com/" $specFileName $resultFileName

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank">selenium-user...@....
To post to this group, send email to <a href="javascript:" target="_blank">seleniu...@....
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/5bfeb6d4-71a6-48c3-b5f9-735527e3ea5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/fa389146-0535-4bf7-8637-ee69622d8c36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/0C656CCB-CA0A-41B9-A0FA-4B4925533F01%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Selenium HTML Runner Documentation

dwillson
If there's no documentation for HTML Runner, then we could do that and it would be a great way to contribute to the Selenium project (if the maintainers accept the contrib).

If there *is* documentation, but it's missing parts, we could optimize our time-spend by writing PR's against it.

But, if there is documentation, and we start working on this without reviewing it, at least some of our time will be wasted.

Hmm... I suppose we should start by getting a qualified answer to whether (and where, my original question) the documentation for Selenium HTML Runner exists.

Maybe picking through the commits, to find the contact information for recent and frequent committers to HTML Runner and asking them directly would be a good way to get a qualified answer. I don't know enough about Java to be able to trace back from 'selenium-html-runner-3.4.0.jar' to the relevant files in the repo. Do you? The commits and committer information should be easy once the source files are located. If the programmers don't answer or they too are ignorant of the existence/location of the documentation, this problem cannot be solved efficiently.

On Wednesday, June 14, 2017 at 10:22:49 AM UTC-6, Krishnan wrote:

David,

 

If you could please help call out your questions as bullet items, I can try looking at the code and answering them for you (to the best of my abilities).

 

Maybe somewhere down the line, once we have sufficient answers to all your questions, we could think of creating a pull request and sending it as a delivery to the Selenium documentation project viz.,

 

  • Here : <a href="https://github.com/SeleniumHQ/www.seleniumhq.org" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FSeleniumHQ%2Fwww.seleniumhq.org\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFwhj1BnJLmyOk82vg_9azbT6-ebw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FSeleniumHQ%2Fwww.seleniumhq.org\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFwhj1BnJLmyOk82vg_9azbT6-ebw&#39;;return true;">https://github.com/SeleniumHQ/www.seleniumhq.org (or)
  • Here : <a href="https://github.com/SeleniumHQ/docs" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FSeleniumHQ%2Fdocs\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEFuf4TMHqTe7itEsgekQNeAQexAg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FSeleniumHQ%2Fdocs\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEFuf4TMHqTe7itEsgekQNeAQexAg&#39;;return true;">https://github.com/SeleniumHQ/docs

 

I am not sure which of these are the documentation project going forward (I believe it’s the latter one)

 

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ <a href="http://wakened-cognition.blogspot.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;">http://wakened-cognition.blogspot.com/

My Technical Scribbings @ <a href="http://rationaleemotions.wordpress.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;">http://rationaleemotions.wordpress.com/

 

From: <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="-WrIWjCiAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com> on behalf of <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="-WrIWjCiAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">dwil...@...>
Reply-To: <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="-WrIWjCiAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com>
Date: Wednesday, June 14, 2017 at 9:43 PM
To: Selenium Users <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="-WrIWjCiAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com>
Subject: Re: [selenium-users] Re: Selenium HTML Runner Documentation

 

Krishnan,

Thank you for attempting to be helpful. I had found that, but it's not sufficient. I have lots of questions that the documentation might answer, and have made discoveries by my fumbling attempts to use the tool that the documentation might have helped me avoid or understand.

Examples:

What are the valid values for '*browser'? What are the dependencies? How do I handle common errors? One of my Selenium IDE actions is to "hit enter on the keyboard", but it's not working in HTML Runner. How do I "hit enter" in a way that works in both interpreters? An 'HTMLSuite' page without a path gets interpreted as a page in 'baseURL'. 'results.html' looks like a file, but it's a directory.

I really want the documentation. If there *isn't* any documentation, it seems premature for <a href="http://docs.seleniumhq.org/download/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdocs.seleniumhq.org%2Fdownload%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE2LjJib1togiOdUpT1B4vp4BnT0Q&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdocs.seleniumhq.org%2Fdownload%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE2LjJib1togiOdUpT1B4vp4BnT0Q&#39;;return true;">http://docs.seleniumhq.org/download/ to say: "To run Selenium tests exported from IDE, use the <a href="https://goo.gl/8mbqu4" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://goo.gl/8mbqu4&#39;;return true;" onclick="this.href=&#39;https://goo.gl/8mbqu4&#39;;return true;">Selenium Html Runner." Because, at least for me and my use cases, without documentation, it's not possible to use it. maybe "try" would be a better word, setting more appropriate expectations.

--David

On Monday, June 12, 2017 at 10:19:37 PM UTC-6, Krishnan wrote:

David,

 

While someone helps you with the information that you are looking for, I was wondering if you could please help elaborate as to what sort of documentation are you looking for? Maybe that would help someone to share some additional information for you on this.

 

I noticed that there’s some basic help built into the standalone runner jar itself, which can be viewed when you run:

 

09:47 $ java -jar selenium-html-runner-3.4.0.jar -help

Usage: <main class> [options]

  Options:

    -help, --help, -h

       This help message

       Default: false

  * -htmlSuite

       Run an HTML Suite: '*browser' '<a href="http://baseUrl.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2FbaseUrl.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHu9nHmH7G0XBszZ63kLSEQjqJteQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2FbaseUrl.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHu9nHmH7G0XBszZ63kLSEQjqJteQ&#39;;return true;">http://baseUrl.com'

       'path\to\HTMLSuite.html' 'c:\absolute\path\to\my\results.html'

    -timeout

       Timeout to use in seconds

       Default: 30

    -userExtensions

       User extensions to attempt to use.

 

Would that suffice ?

 

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ <a href="http://wakened-cognition.blogspot.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwakened-cognition.blogspot.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzOdYJCASIDF_28vQtkp9gnKAYSQ&#39;;return true;">http://wakened-cognition.blogspot.com/

My Technical Scribbings @ <a href="http://rationaleemotions.wordpress.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Frationaleemotions.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEcBOKyRn0lpL8LDbBuyAlKdwgXwQ&#39;;return true;">http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of <[hidden email]>
Reply-To: <[hidden email]>
Date: Monday, June 12, 2017 at 10:38 PM
To: Selenium Users <[hidden email]>
Subject: [selenium-users] Re: Selenium HTML Runner Documentation

 

Did anyone ever point to the documentation, as requested in the OP?

I put an Issue (<a href="https://github.com/SeleniumHQ/selenium/issues/4153" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FSeleniumHQ%2Fselenium%2Fissues%2F4153\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-yVO4oKD3NrG5ptsWxxY2DvuYmA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FSeleniumHQ%2Fselenium%2Fissues%2F4153\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF-yVO4oKD3NrG5ptsWxxY2DvuYmA&#39;;return true;">https://github.com/SeleniumHQ/selenium/issues/4153) for missing documentation in the GitHub project, but they closed it as a question and referred me here.

Now, I have another question: How do I prove that there is no documentation so that I may enter an Issue, rather than asking if there's documentation?

Me: Dear developers, there is no documentation for this non-trivial piece of software.
Them: Prove it.
Me: Um... I can't find the documentation.
Them: That's *your* problem.
Me: True.

On Sunday, November 13, 2016 at 11:36:41 AM UTC-7, Shunt wrote:

Thanks. This would suggest that all I need to do is download the new jar and change the path e.g.

Old
 java -jar C:\Selenium\Server\selenium-server-standalone-2.53.1.jar -htmlSuite $browserAgent $ciServer $specFileName $resultFileName

New
 java -jar C:\Selenium\Server\selenium-html-runner-3.0.1.jar -htmlSuite $browserAgent $ciServer $specFileName $resultFileName

However, I now get an error:

Exception in thread "main"
java.nio.file.InvalidPathException: Illegal char <:> at index 9: firefox C:\Program Files (x86)\Mozilla Firefox\firefox.exe.results

S

On Wednesday, 19 October 2016 09:30:31 UTC+1, Kory Grandy wrote:

java -jar selenium-html-runner-3.01.jar -htmlSuite "*firefox [path]" "<a href="http://ci.domain.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;">http://ci.domain.com/" $specFileName $resultFileName


On Sunday, September 18, 2016 at 7:20:30 AM UTC-5, Shunt wrote:

Can anyone point me in the direction of any documentation for the new Selenium 3, Selenium HTML Runner?

Or help me with this:

With Selenium 2 I used to be able to run the following from cmd line or .ps1, how can I do this with Selenium 3?

java -jar selenium-server-standalone-2.53.1.jar -htmlSuite "*firefox [path]" "<a href="http://ci.domain.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fci.domain.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHODQoXvskiG9a8k5erR9icqEoigg&#39;;return true;">http://ci.domain.com/" $specFileName $resultFileName

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/5bfeb6d4-71a6-48c3-b5f9-735527e3ea5a%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/5bfeb6d4-71a6-48c3-b5f9-735527e3ea5a%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/5bfeb6d4-71a6-48c3-b5f9-735527e3ea5a%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/5bfeb6d4-71a6-48c3-b5f9-735527e3ea5a%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="-WrIWjCiAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">selenium-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="-WrIWjCiAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">seleniu...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/selenium-users/fa389146-0535-4bf7-8637-ee69622d8c36%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/fa389146-0535-4bf7-8637-ee69622d8c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/selenium-users/fa389146-0535-4bf7-8637-ee69622d8c36%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/selenium-users/fa389146-0535-4bf7-8637-ee69622d8c36%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/7528113a-4386-410f-bbd1-67d7b8af953a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Selenium HTML Runner Documentation

Krishnan Mahadevan

David,

 

This is the main runner client from which your execution would kick off.

 

Commit history on this java class shows that mostly its been either Simon (the project lead for WebDriver) or Alexei (part of the core dev for Selenium) who been touching this class.

 

You should be able to talk to them on the IRC Channel for selenium to get some answers.

 

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of <[hidden email]>
Reply-To: <[hidden email]>
Date: Wednesday, June 14, 2017 at 10:38 PM
To: Selenium Users <[hidden email]>
Subject: Re: [selenium-users] Re: Selenium HTML Runner Documentation

 

If there's no documentation for HTML Runner, then we could do that and it would be a great way to contribute to the Selenium project (if the maintainers accept the contrib).

If there *is* documentation, but it's missing parts, we could optimize our time-spend by writing PR's against it.

But, if there is documentation, and we start working on this without reviewing it, at least some of our time will be wasted.

Hmm... I suppose we should start by getting a qualified answer to whether (and where, my original question) the documentation for Selenium HTML Runner exists.

Maybe picking through the commits, to find the contact information for recent and frequent committers to HTML Runner and asking them directly would be a good way to get a qualified answer. I don't know enough about Java to be able to trace back from 'selenium-html-runner-3.4.0.jar' to the relevant files in the repo. Do you? The commits and committer information should be easy once the source files are located. If the programmers don't answer or they too are ignorant of the existence/location of the documentation, this problem cannot be solved efficiently.

On Wednesday, June 14, 2017 at 10:22:49 AM UTC-6, Krishnan wrote:

David,

 

If you could please help call out your questions as bullet items, I can try looking at the code and answering them for you (to the best of my abilities).

 

Maybe somewhere down the line, once we have sufficient answers to all your questions, we could think of creating a pull request and sending it as a delivery to the Selenium documentation project viz.,

 

 

I am not sure which of these are the documentation project going forward (I believe it’s the latter one)

 

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <<a href="javascript:" target="_blank">seleniu...@...> on behalf of <<a href="javascript:" target="_blank">dwil...@...>
Reply-To: <<a href="javascript:" target="_blank">seleniu...@...>
Date: Wednesday, June 14, 2017 at 9:43 PM
To: Selenium Users <<a href="javascript:" target="_blank">seleniu...@...>
Subject: Re: [selenium-users] Re: Selenium HTML Runner Documentation

 

Krishnan,

Thank you for attempting to be helpful. I had found that, but it's not sufficient. I have lots of questions that the documentation might answer, and have made discoveries by my fumbling attempts to use the tool that the documentation might have helped me avoid or understand.

Examples:

What are the valid values for '*browser'? What are the dependencies? How do I handle common errors? One of my Selenium IDE actions is to "hit enter on the keyboard", but it's not working in HTML Runner. How do I "hit enter" in a way that works in both interpreters? An 'HTMLSuite' page without a path gets interpreted as a page in 'baseURL'. 'results.html' looks like a file, but it's a directory.

I really want the documentation. If there *isn't* any documentation, it seems premature for http://docs.seleniumhq.org/download/ to say: "To run Selenium tests exported from IDE, use the Selenium Html Runner." Because, at least for me and my use cases, without documentation, it's not possible to use it. maybe "try" would be a better word, setting more appropriate expectations.

--David

On Monday, June 12, 2017 at 10:19:37 PM UTC-6, Krishnan wrote:

David,

 

While someone helps you with the information that you are looking for, I was wondering if you could please help elaborate as to what sort of documentation are you looking for? Maybe that would help someone to share some additional information for you on this.

 

I noticed that there’s some basic help built into the standalone runner jar itself, which can be viewed when you run:

 

09:47 $ java -jar selenium-html-runner-3.4.0.jar -help

Usage: <main class> [options]

  Options:

    -help, --help, -h

       This help message

       Default: false

  * -htmlSuite

       Run an HTML Suite: '*browser' 'http://baseUrl.com'

       'path\to\HTMLSuite.html' 'c:\absolute\path\to\my\results.html'

    -timeout

       Timeout to use in seconds

       Default: 30

    -userExtensions

       User extensions to attempt to use.

 

Would that suffice ?

 

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of <[hidden email]>
Reply-To: <[hidden email]>
Date: Monday, June 12, 2017 at 10:38 PM
To: Selenium Users <[hidden email]>
Subject: [selenium-users] Re: Selenium HTML Runner Documentation

 

Did anyone ever point to the documentation, as requested in the OP?

I put an Issue (https://github.com/SeleniumHQ/selenium/issues/4153) for missing documentation in the GitHub project, but they closed it as a question and referred me here.

Now, I have another question: How do I prove that there is no documentation so that I may enter an Issue, rather than asking if there's documentation?

Me: Dear developers, there is no documentation for this non-trivial piece of software.
Them: Prove it.
Me: Um... I can't find the documentation.
Them: That's *your* problem.
Me: True.

On Sunday, November 13, 2016 at 11:36:41 AM UTC-7, Shunt wrote:

Thanks. This would suggest that all I need to do is download the new jar and change the path e.g.

Old
 java -jar C:\Selenium\Server\selenium-server-standalone-2.53.1.jar -htmlSuite $browserAgent $ciServer $specFileName $resultFileName

New
 java -jar C:\Selenium\Server\selenium-html-runner-3.0.1.jar -htmlSuite $browserAgent $ciServer $specFileName $resultFileName

However, I now get an error:

Exception in thread "main"
java.nio.file.InvalidPathException: Illegal char <:> at index 9: firefox C:\Program Files (x86)\Mozilla Firefox\firefox.exe.results

S

On Wednesday, 19 October 2016 09:30:31 UTC+1, Kory Grandy wrote:

java -jar selenium-html-runner-3.01.jar -htmlSuite "*firefox [path]" "http://ci.domain.com/" $specFileName $resultFileName


On Sunday, September 18, 2016 at 7:20:30 AM UTC-5, Shunt wrote:

Can anyone point me in the direction of any documentation for the new Selenium 3, Selenium HTML Runner?

Or help me with this:

With Selenium 2 I used to be able to run the following from cmd line or .ps1, how can I do this with Selenium 3?

java -jar selenium-server-standalone-2.53.1.jar -htmlSuite "*firefox [path]" "http://ci.domain.com/" $specFileName $resultFileName

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/5bfeb6d4-71a6-48c3-b5f9-735527e3ea5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank">selenium-user...@....
To post to this group, send email to <a href="javascript:" target="_blank">seleniu...@....
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/fa389146-0535-4bf7-8637-ee69622d8c36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/7528113a-4386-410f-bbd1-67d7b8af953a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/2690DDF6-1729-43EF-8983-07246A0A783A%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...