Category: Automation

I went to http://testng.org/doc/download.html , here a link is displayed from which you can check old plug-in versions of TestNG, clicking that will take you to http://beust.com/eclipse-old/ , this page displays list of urls. I selected a version below to latest one and copy pasted that url to Location field in Eclipse and it worked !!!

Step 1 : Create your sauce lab account. Here do not use @ in your username.
Step 2 : Login into the Sauce lab account and get your access key. You can get it from account information.
Step 3 : Install Curl on your system. It will help you to upload your android or iOS file on the Sauce system.
For windows — https://winampplugins.co.uk/curl/
Step 4: Open a terminal and give the path where curl is downloaded
Step 5 : First command to upload the file on sauce lab :

Step 7 : Open IDE, I am using Eclipse and add selenium and testng jar files in your project.
Step 8 : To get the desired capabilities, select your requirement and get the capabilities using this link – https://wiki.saucelabs.com/display/DOCS/Platform+Configurator#/
Step 9 : Below is my code.