cross browser testing with browser stack

Post on 16-Apr-2017

252 Views

Category:

Presentations & Public Speaking

19 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Denys Poloka30-03-2017, Lviv

CROSS-BROWSER TESTING WITH BROWSERSTACK

INTERNET USING

Test Architect @Levi97+ years of testing experiencePassionate about testing

https://www.linkedin.com/in/poloka/

https://github.com/erfolgden/browserstack_example

ABOUT ME

NO ADS

• Why do you need cross-browser testing• Why BrowserStack• Basic Concepts• BrowserStack usage• Q&A

AGENDA

Cross-browser refers to the ability of a website, web application, HTML construct or client-side script to function in environments that provide its required features and to bow out or degrade gracefully when features are absent or lacking…

https://en.wikipedia.org/wiki/Cross-browser

CROSS-BROWSER TESTING

 

https://en.wikipedia.org/wiki/Usage_share_of_web_browsers

CROSS-BROWSER TESTING

Source Chrome IE Firefox Safari Edge Others

NetMarketShare 56.43% 20.84% 12.22% 3.47% 5.33% 1.70%

StatCounter 62.66% 9.86% 14.95% 5.1% 3.37% 4.06%

W3Counter 56.6% 7.7% 11.1% 14.5% 2% 8.1%

BrowserStack is a cloud-based cross-browser testing tool that enables developers to test their websites across various browsers on different operating systems and mobile devices, without requiring users to install virtual machines, devices or emulators.

WHY BROWSERSTACK

• It makes testing easy• 1100+ real browsers• Native browsers experience• Replace your test labs

WHY BROWSERSTACK

BASIC CONCEPTS

Java

JBehave

Junit

Selenide

Serenity

TestNG

PHP

Behat

Codeception

PHPUnit

Node JS

Cucumber JS

Nightwatch

Protractor

WD

WebdriverIO

Python

Behave

Lettuce

C#

MBUnit

Nunit

Specflow

Setting your operating system, browser, and screen resolution

BASIC CONCEPTS

Remote driver:

BASIC CONCEPTS

Capabilities:

• desired_cap[‘name’] = logintest

• desired_cap[‘project’] = loginformproject • desired_cap[‘build’] = build 4.5• desired_cap[‘browserstack.timezone’] = UTC, New_York, etc.• desired_cap[‘browserstack.selenium_version’] = 2.53.0• desired_cap[‘browserstack.debug’] = false• desired_cap[‘browserstack.local’] = true

BASIC CONCEPTS

Running local tests:

BASIC CONCEPTS

Continuous Integration:

BASIC CONCEPTS

DEMO

ONE COMMON GOAL

top related