CrossBrowserTesting Support

Support

  • Product
    • Live Testing
    • Automated Testing
    • Record & Replay
    • Visual Testing
  • API Docs
  • Blog
  • Live Q&A
  • Start Testing
CrossBrowserTesting Support » Selenium Testing » Updating Selenium Tests with Pass or Fail

Updating Selenium Tests with Pass or Fail

You can do this with the API. The API call is an HTTP PUT to /api/v3/selenium/TESTID

You pass along the action of set_score and a score value of pass or fail.

Here is an example using CURL on unix.

Mark a test as PASSED


curl --user USER:AUTHKEY \
-X PUT -d "action=set_score" -d "score=pass" \
http://app.crossbrowsertesting.com/api/v3/selenium/TESTID

Mark a test as FAILED


curl --user USER:AUTHKEY \
-X PUT -d "action=set_score" -d "score=fail" \
http://app.crossbrowsertesting.com/api/v3/selenium/TESTID

Related

Selenium Starting Guides

  • Python
  • Java
  • JavaScript
  • PHP
  • Ruby
  • C#
  • Selenium 101

More Help

  • Parallel Testing
  • Jenkins Integration
  • TeamCity Integration
  • Automation Capabilities
  • Local Testing

See Our GitHub Examples


 



Think you need a human?

Our customer success team will be glad to help you with your question.

Contact Support

Still need a free trial?

Try CrossBrowserTesting free for 7 days and see how we make testing easier.

Start Today

Want the latest tips?

Enter your email and we’ll send you tutorials and browser testing strategies right to your inbox.


Product

  • Live Testing
  • Automated Testing
  • Visual Testing
  • Local Testing
  • Integrations

Resources

  • Browsers & Devices
  • Blog
  • Webinars
  • Security
  • ROI Calculator

Support

  • Help Center
  • CBT Community
  • API Docs
  • Automation Docs
  • Schedule A Demo
  • Enterprise Request

Company

    • About Us
    • Contact Us
    • Careers
    • Terms of Use
    • 1-888-927-6973

© 2019 CrossBrowserTesting.com, LLC. All rights reserved.