Save Time, save money: Move over from selenium grid to cloud

What is the most challenging thing while running the automation tests? It is coverage of multiple browser, cross device testing with faster execution of tests? The way to do it is distribute these tests for parallel execution on Selenium grid, but that comes with substantial burden of managing and maintaining the platforms and browser.

Now that cloud-computing resources are available and affordable, many organizations are saving by leveraging services such as Sauce Labs.Moving to the cloud makes tests easier and faster to run for several reasons:

1. No maintenance: There will be no maintenance or overhead of managing the test servers and infrastructure

2. Less Cost: No cost of hardware addition and saving on resources working on maintaining the grid

3. Easier Debugging:By identifying the tests that failed due to actual faults vs failure due to browser being hanged.

Lets learn how to set up and run the automated test on multiple browsers and platform using Java, Selenium with Sauce Labs, and running an application sequestered behind the firewall on cloud.

 
2 favorite thumb_down thumb_up 4 comments visibility_off  Remove from Watchlist visibility  Add to Watchlist
 

Outline/structure of the Session

 

  • Introduction to Selenium Grid for distrubuted testing
  • Issues in running grid and false failures
  • Introduction to cloud testing
  • Transforming your existing tests to cloud
  • Demo of setting up and running cross browser tests on cloud
  • Running your test on cloud from CI tool Jenkins 

Learning Outcome

  •  Running the automated tests on cross-browser using cloud
  •  Focus more on writing scripts then managing the infrastructure
  •  Easier debugging with recorded videos and logs
  •  Point to the false failures easily
  •  Integrating cloud platform with CI tool

Target Audience

Test automation engineers, QA manager

schedule Submitted 1 year ago

Comments Subscribe to Comments

comment Comment on this Proposal
  • Dave Haeffner
    By Dave Haeffner  ~  1 year ago
    reply Reply

    Hey Anshul,

    I have a few questions:

    - Will you be talking about/demoing Sauce Connect to demonstrate access behind a firewall?
    - Any plans to demonstrate pulling down assets (e.g., screenshots, videos, etc.) into a CI test report (like with their Jenkins plugin)?
    - Will you at least be mentioning any of the other Grid-as-a-service providers to provide additional context into the existing market place?
    - And lastly, will you be talking about any issues you've run into with running your tests on someone else's Grid (and solutions or workarounds you've applied to address them)?

    • Anshul Sharma
      By Anshul Sharma  ~  1 year ago
      reply Reply

      Hi Dave,

      Here are the answers inline:

      - Will you be talking about/demoing Sauce Connect to demonstrate access behind a firewall?

      AS>> Yes as mentioned in the summary i will be talking about how to run the application sequestered behind the firewall, which is by using Sauce Connect. But for demo i have created a sample automated test case for public domain website (amazon.com) to run on Sauce.


      - Any plans to demonstrate pulling down assets (e.g., screenshots, videos, etc.) into a CI test report (like with their Jenkins plugin)?

      AS>> I wasn't planning to go deeper into how to configure the Jenkins job or configuring a test suite to run periodically, but certainly i can talk about the Sauce On Demand plugin with Jenkins to show the videos and test results on the Jenkins job.


      - Will you at least be mentioning any of the other Grid-as-a-service providers to provide additional context into the existing market place?

      AS>> Yes i will mention the other cloud services like Browserstack, testingBot but due to the limited time will not go deeper in the comparison.


      - And lastly, will you be talking about any issues you've run into with running your tests on someone else's Grid (and solutions or workarounds you've applied to address them)?

      AS>> Yes i will be talking about the challenges faced while moving from the in-house grid to cloud and how we circumvent them. As i have created a new data driven automation framework running on cloud and also moved our existing legacy automation code(which was running on selenium grid) on Sauce i understand the pain points and the advantages of doing both.

  • Anand Bagmar
    By Anand Bagmar  ~  1 year ago
    reply Reply

    hi Anshul,

    will you also be doing some demo here? note that wifi may not be reliable - and its always good to have a backup plan

    • Anshul Sharma
      By Anshul Sharma  ~  1 year ago
      reply Reply

      Yeah i can do the demo i know the wifi becomes tricky so i anyway planned for the recorded video of the demo.


  • Liked Soumyajit Basu
    keyboard_arrow_down

    Soumyajit Basu - Running your tests headless using Java + Selenium + PhantomJs Driver + TestNG

    20 mins
    Talk
    Beginner

    In this era of continuous software development and continuous delivery automation of a software plays a really big role in reducing time and effort for quality control and visually verifying individual functionalities. Automation plays a vital role in quickly pin pointing any break within the functionalities of the software system and also provides a quick report so that the software development team is aware what functionality in the system needs to be attended.

    The session would contain running an automation test headless by using the capability of phantomjs driver, running Selenium, implemented in Java and triggered by TestNG. People interested in learning automation can utilise the power of phantomjs driver to run tests quickly and get the desired test reports.