Click here to load reader
Upload
globallogic-ukraine
View
390
Download
4
Embed Size (px)
DESCRIPTION
This presentation is about Cross Platform Test Automation for Web and Android, with the description of useful frameworks and examples of code. Presentation by Iuliia Khikmatova (Senior Automation Tester, GlobalLogic, Lviv) delivered at GlobalLogic Lviv Mobile TechTalk, November 13, 2014. More details - http://www.globallogic.com.ua/press-releases/lviv-mobile-2014-coverage
Citation preview
CONFIDENTIAL©2014 GlobalLogic Inc.
Cross Platform Test Automation
Web + Android
CONFIDENTIAL
Test flow for automationTest
● Device displays activation code● Web-server activates code via
browser● Device updates screen
● Device tests● Web-browser displays activity● Device tests
CONFIDENTIAL
Using:
AutomationStructure
● Java● Maven● Spring
● Appium● Selenium● TestNG
CONFIDENTIAL
Advantages:
AppiumStructure
● Mobile (Android and iOS)● Any language supported by
Selenium● Automates Android using the
UIAutomator framework● Automates iOS using the
UIAutomation library
CONFIDENTIAL
Appium/WebDriver initializingStructure
CONFIDENTIAL
Structure
Page Object
● All Android pages and fragment prototypes are initialized via AppiumDriver
● All Browser pages and fragment prototypes are initialized via WebDriver● The Page Object encapsulates all the logic about how to perform certain
actions
CONFIDENTIAL
Components AccessStructure
CONFIDENTIAL
Example:
TestNG TestStructure
● @Test – TestNG annotation
CONFIDENTIAL
Test startStructure
● Test Name● Used Class● Used methods
CONFIDENTIAL©2014 GlobalLogic Inc.
Q & A