Selenium UI test automation with zero infrastructure cost!!

Preface:
There are several UI testing tools available in the market like SilkTest,QTP, Selenium etc. and test automation engineers are using those tools depending on the requirement. Among these tools, Selenium is a popular open source UI automation tool. Now for some projects, customer asks us to run the automation test against different browsers on different platform. So to do this we have to setup our test automation tool / server on different platform with different browsers and also the major challenge is to setup different versions of same browser on same machine. So to overcome these issues either we use virtualization technology or setup multiple systems for this testing, which results in increased cost and complexity in maintenance of systems for testing. To solve this kind of issues and tasks, Saucelabs offers one of the good cloud based solution called “Sauce On Demand” which facilitates us to test our application with different environments using their different models of pricing. Following sections I will describe about basics of sauce on demand.

Introduction of Sauce On demand:
Sauce on demand is the Cloud based solution for UI testing using selenium by Saucelabs. In this configuration we can run our tests on Cloud servers with different OS and different browsers and their versions. To run the test we have to purchase a plan and saucelabs will provide access id for that subscription. So to run the test we have to pass access id, user credentials and configurations (against which we want to test) in JSON format. Sample code is available in online documentation of sauce on demand along with currently supported configurations.
The online documentation is available.

Infrastructure cost=0 and other benefits:
As described above you get the idea that for our testing we can run test against different OS and different browsers and their version by just passing the configuration details so the main advantage of this tool that it will not require any effort to setup infrastructure to test our software against different OS and browsers.
The other advantage is, it stores video of whole test along with full log so it will be easier to find the issues and also it is easily accessible and downloadable from their server.
If we use threading or some other execution optimization concepts than we can test our application against different configurations simultaneously. I think same concepts can be applied for load testing.
There are so many advantages but for that I will suggest you to test a trial of sauce on demand.

Limitations:
Currently some combinations of OS and browser are not available. Check following link for available combinations
For parallel or load testing we have to write script in our tool, but it would be nice if such capability was available as part of Sauce On Demand

Conclusion:
If you really want to test against different OS, browser and their versions then give a thought about exploring Sauce on demand or we can help you for analyzing and preparing the framework for your this type of requirement.

At the end..
Please correct me if any information is incorrect. If you have any questions or comments on this topic you can send your queries to akhil.patel@infostretch.com or leave a comment below.

Interested in our Testing Services?

Contact Infostretch +1 408-727-1100

By submitting this form, you agree that you have read and understand Infostretch’s Terms and Conditions. You can opt-out of communications at any time. We respect your privacy.

By submitting this form, you agree that you have read and understand Infostretch’s Terms and Conditions. You can opt-out of communications at any time. We respect your privacy.

Other stories you may enjoy...

Healthcare Apps and the Need for Security

One of the most exciting areas in tech right now promises to be “the most personal” ever. A key aspect of making wearable devices like the Apple Watch personal is through...

Developing an App for the 2020 General Election?

Here is a thought: With the UK General Election having just finished, could the next one in 2020 be the first to use a mobile app to allow people to vote? The polling...

Be honest. Describe the state of your test cases.

“There’s some dead wood in there.” “Hmmm…. Someone really needs to clean them up.” “A little outdated.” For those reading this in the northern hemisphere,...