automation sample 2 xhs application
TRANSCRIPT
All Rights reserved - © IMT 2008-2013 2
Application Introduction
Using IMT in-house Test Automation framework with QTP test tool to automate XHS app.
XHS is a home security system which contain web-base app and smartphone app. It allows users to remotely monitor and manage the system from website (https://www.xhsqa.com/sp/ ) or XHS app installed on smartphone
All Rights reserved - © IMT 2008-2013 3
Test Cases
Case 1: Verify the system on Website
Test Objectives: Verify if we can install/uninstall apps for the security system of each user on website.
Test Data: The specified name of these app(s)
Test Output: Confirmation for successful installed/uninstalled app(s).
All Rights reserved - © IMT 2008-2013 4
Test Cases
Case 2: Verify the system on Android Smartphone
Test Objectives: Verify the synchronization of the performed user action(s) of the system in XHS app on Android.
Test Data: The specified user action(s)
Test Output: Confirmation for successful synchronization
All Rights reserved - © IMT 2008-2013 6
IMT Auto Framework using QTP has 4 main sections:
Environment: contains xml setting files
Function Libraries: common functions with dynamic description and specific functions
Shared Repositories: these files describe the shared graphic user elements in the system
TC Scripts: test case scripts
IMT Test Automation Framework
All Rights reserved - © IMT 2008-2013 7
Perform initializationLoad libraries
Initialize variables
GUI Map loading and definitions
Etc.
Process the test suite to get list of selected test cases and pass them to the controller
IMT Test Automation Framework
All Rights reserved - © IMT 2008-2013 8
Dynamic Description: easy to update when GUI changed
Other advantages of an common automation framework: Low cost Reliability Reusability Comprehensive …
IMT Framework Advantages
All Rights reserved - © IMT 2008-2013 9
Demo
Case 1: Verify the system on Website
Open website and loginVerify if these specified app(s) exist or notInstall/Uninstall these specified app(s)Verify if the app install/uninstalled successfullyReport the results
Running video demo file
All Rights reserved - © IMT 2008-2013 10
Demo
Case 2: Verify the system on Android Smartphone
Open XHS app on Android and loginOpen website and loginPerform arm/disarm action(s) on websiteVerify if the performed action(s) successfully on websiteCome back XHS app on Android and verify if the performed action(s) are synchronized successfullyReport the results
Running video demo file