Загрузка страницы

Selenium in the Clouds: Using Cloud Service Providers with Selenium WebDriver - Josh Grant

Selenium in the Clouds: Using Cloud Service Providers with Selenium WebDriver - Josh Grant, Code Intelligence

People all around the world love using Selenium to drive browsers for all sorts of reasons. Running Selenium scripts on a local device is fast and can be done easily from a developer's workstation.

Some teams, however, need to run scripts on cloud providers such as Sauce Labs, BrowserStack or LambdaTest. Reasons including running scripts on cross-browser environments for test automation and reducing dependencies on a particular developer's environment are typically why folks move their scripts and tests to cloud providers. While moving existing tests and scripts to run on cloud providers is relatively straightforward, teams often notice big differences between local and cloud-provider execution and script maintenance. Some of the differences are totally expected. Some are not.

In this talk, I'll discuss my experiences with helping teams use Sauce Labs with cloud providers, including

Some common pitfalls teams encounter with using cloud providers for the first time,
How using a cloud provider platform differs from using local devices, and
Approaches teams can take to optimize for running tests in the cloud.

This talk will be informed by my experience using Selenium and Appium, and will be as platform-agnostic as possible.
Outline/Structure

This presentation will be done in a lecture-style "Lessons Learned" format with the following five sections.

What is a Cloud Service? Describing the differences between using a local browser, an in-house grid and a cloud-service.

Connecting Tests to a Session on a Cloud Service. How to connect your Selenium tests to a remote driver instance, how this happens typically with cloud-services, and what to keep in mind when setting options/capabilities in a cloud-service.

Running Tests on a Cloud Service. What to expect when you run tests on a cloud-service environment in terms of execution time and generating test logs and assets. Also there is some discussion of how to optimize tests for running in cloud-based environments.

Stopping a Session on a Cloud Service. Some ideas of what happens when a cloud-based browser session is finished and/or completes. Also I'll mention some best practices to make sure cloud-based tests don't more cost time or money than they need to.

Conclusions / Lessons Learned
Learning Outcome

After this presentation, attendees will learn

What are the differences between running scripts with Selenium locally versus on a cloud-provider,
How to optimize scripts for use with a cloud-provider, and
What are the benefits and costs of using a cloud-provider versus using other execution environments.

Target Audience
Testers and developers who have or are using a cloud service in addition to writing Selenium-based test frameworks.
Prerequisites for Attendees

For this talk, you should be familiar with:

A basic understanding of how the Selenium WebDriver works, and
A basic understanding of the difference between using the WebDriver locally and using the RemoteWebDriver.

Experience with writing automated tests and scripts would be helpful, but not required.
Links

https://simplythetest.tumblr.com - My blog, which you may read as you wish.

Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should) also be automated as well. For more infomation check out: https://www.selenium.dev/

Видео Selenium in the Clouds: Using Cloud Service Providers with Selenium WebDriver - Josh Grant канала Selenium Conference
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
1 апреля 2023 г. 9:37:09
00:38:32
Яндекс.Метрика