[ 
http://jira.codehaus.org/browse/MSELENIUM-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_109481
 ] 

Jason Dillon commented on MSELENIUM-24:
---------------------------------------

Doh... I didn't realize there was a patch on here... lemme peep at it.

> Support -htmlSuite to run suites from the start-mojo
> ----------------------------------------------------
>
>                 Key: MSELENIUM-24
>                 URL: http://jira.codehaus.org/browse/MSELENIUM-24
>             Project: Maven 2.x Selenium Plugin
>          Issue Type: New Feature
>          Components: start-server
>    Affects Versions: 1.0-beta-1
>            Reporter: Jerome Lacoste
>         Attachments: MSELENIUM-24.diff
>
>
> From the doc:
> http://www.openqa.org/selenium-rc/options.html
> -htmlSuite <browser> <startURL> <suiteFile> <resultFile>: Run a single HTML 
> Selenese (Selenium Core) suite and then exit immediately, using the specified 
> browser (e.g. "*firefox") on the specified URL (e.g. 
> "http://www.google.com";). You need to specify the absolute path to the HTML 
> test suite as well as the path to the HTML results file we'll generate.
> Can be used like:
>               <execution>
>                 <id>launch-selenium-firefox-https</id>
>                 <phase>integration-test</phase>
>                 <goals>
>                   <goal>start-server</goal>
>                 </goals>
>                 <configuration>
>                   
> <defaultUserExtensionsEnabled>false</defaultUserExtensionsEnabled>
>                   <proxyInjectionMode>true</proxyInjectionMode>
>                   <!--debug>true</debug-->
>                   <logOutput>true</logOutput>
>                   
> <logFile>${project.build.directory}/selenium/pifirefox.log</logFile>
>                   <timeout>180</timeout>
>                   <port>${selenium.port}</port>
>                   <!-- work around issue with certificate: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target -->
>                   
> <truststoreFile>src/test/resources/jssecacerts-ast-b2bdev</truststoreFile>
>                   
>                   <browserString>*pifirefox c:\Program Files\Mozilla 
> Firefox\firefox.exe</browserString>
>                   
> <startURL>https://${cargo.host}:${cargo.port}/adminportal/</startURL>
>                   
> <suiteFile>src/test/resources/selenium/TestSuite.html</suiteFile>
>                   
> <resultFile>${project.build.directory}/selenium-pifirefox-results.html</resultFile>
>                 </configuration>
>               </execution>
> Works great for me (with 0.9.2).
> If you find the feature interesting, I can write some apt doc as well.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to