0

How do i post the results to a URL via the "selenium-server.jar"

java -jar selenium-server.jar -htmlSuite "*firefox" "https://www.myserver.com/rc/" "/selenium/Tests/TestSuite2.html" "http://myserver.com/readSeleniumResults"

chrome://src/content/TestRunner.html?auto=true&multiWindow=true&defaultLogLevel=info&baseUrl=https%3A%2F%2Fwww.myserver.com%2Frc%2F&resultsUrl=http://localhost:4444/selenium-server/postResults&test=http%3A%2F%2Flocalhost%3A4444%2Fselenium-server%2Ftests%2FUI_TestSuite2.html

I would like the &resultsUrl to be "&resultsUrl=http://myserver.com/readSeleniumResults"

2 Answers 2

1

There's no way Selenium can be able to report the results of the tests to an online site. If you think it, you'll soon notice there isn't a standard way for which selenium could take care of such task.

I recommend you wrapping that system call inside a script, that once selenium finished takes care of sending the results html file through FTP or the method you've chosen.

Sign up to request clarification or add additional context in comments.

Comments

0

This is what I'm doing.

java -jar selenium-server.jar  -htmlsuite *iexplore http://yourwebsite c:\testsuite\BasicTestSuite c:\testsuite\results.html 

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.