CrossBrowserTesting Support

Support

  • Product
    • Live Testing
    • Automated Testing
    • Record & Replay
    • Visual Testing
  • API Docs
  • Blog
  • Live Q&A
  • Start Testing
CrossBrowserTesting Support » Selenium Testing » Connecting to CrossBrowserTesting’s Cloud while at the office

Connecting to CrossBrowserTesting’s Cloud while at the office

When you are testing automation in a corporate environment you may be behind an HTTP proxy. The way to recognize that is your workstation will be able to run a live testing session but when you try to run an automated test it will fail. You can also recognize this by looking at the settings on your browser and how it connects to your network.

In this situation any automated programs you run from your machine must be aware and use the HTTP proxy or your programs may not work.

The error will show up as an unable to connect to remote host and when you run an automated test it will not show up in your testing dashboard. You could also see errors from the Remote browser object you used to connect to the hub at CrossBrowserTesting.com. The test will die quickly in most cases.

To fix this you must tell the programming language you are using about the proxy.

For Java you can find information on setting the HTTP proxy here http://docs.oracle.com/javase/7/docs/technotes/guides/net/proxies.html

For python see this article http://stackoverflow.com/questions/11726881/how-to-set-an-http-proxy-in-…

For CSharp see this article http://stackoverflow.com/questions/1938990/c-sharp-connecting-through-proxy

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.