SlideShare ist ein Scribd-Unternehmen logo
1 von 7
Downloaden Sie, um offline zu lesen
iOS automation with appium
Page 1 October 15, 2015
Document Revision History:
Version Date Revised By Comments
1 27/11/14 Amit Dewan Initial Version
2 29/01/15 Amit Dewan Remake version
Page 2 October 15, 2015
Contents
• Appium working on iOS
• Requirements
• Install Appium Server
• Install ios Webkit Debug Proxy
• SafariLauncher app
• Ios Device
• Xcode and Command Line Utilities
• Eclipse IDE
• Java ANT Project
• Package Structure
• Steps to run the framework
• Running the project from Jenkins
Appium working on iOS
Appium is an open source test automation tool developed and supported by Sauce Labs to automate native
Page 3 October 15, 2015
and hybrid mobile apps. It uses JSON wire protocol internally to interact with iOS web and native apps
using the Selenium WebDriver Appium server is written in Node.js and talks to iOS using UIAutomation
via Instruments
Workflow Diagram
Requirements
(1) Mac m/c (details: OSX10.7.5, JDK:1.7)
(2) appium-0.12.3.dmg
(3) ios-webkit-debug-proxy-master.zip
(4) Eclipse IDE
(5) selenium-server-standalone-2.35.0.jar
(6) TestNG
(7) ANT
(8) Jenkins with Tomcat server.
(9) SafariLauncher app on m/c
(10) Any ios device (provisioned with SafariLauncher app)
(11) Xcode and Command Line Utilities
Install Appium Server
Install Appium server from appium-0.12.3.dmg on mac machine.
Configurations on Appium server:
Set IP Address, port, Safari Launcher App path and UDID of the device.
See the following figure and set all the configurations exactly as shown.
Replace the app path with the SafariLauncher path placed in your computer and replace the UDID of the
Page 4 October 15, 2015
device with UDID of your device.
Appium Configuration
In Appium Preferences, uncheck Prelaunch Application
Install ios Webkit Debug Proxy
Extrract ios-webkit-debug-proxy-master.zip in any suitable location.
Folder with name “ios-webkit-debug-proxy” will be created with src directory in it.
SafariLauncher app
This app is used to launch safari browser on ios device with 30 seconds delay.
App needs to be installed on the device to be tested.
App's app file path also needs to be given to appium server.
Ios Device
iOS device which needs to be tested should be provisoned from Apple's portal.
With SafariLauncher app installed on the device, it is ready to be tested for Appium automation tests.
Xcode and Command Line Utilities
Xcode, Instruments and other utilities should be installed on the machine.
Command Line Utilities of xcode should be turned on.
Eclipse IDE
• Create Java ANT project on JDK 1.7
• Create subversion repository.
ANT Project
• Create ANT project with build.xml
• In build.xml, set dependencies for TestNG, selenium-server and java-tools.
Page 5 October 15, 2015
• In build.xml set target for running java main class
• Create “suite” folder to place all TestNG suites.
• Create “TestResults” folder to store all results.
• Create “config” folder to place framework properties file “config.properties”
Folder Structure in eclipse
Package Structure
➔ test package: starts with qas and ends with test
This package contains all the TestNG test scripts.
➔ controls package:starts with qas.webdriver and ends with controls
This package includes all controls available on device screen like TextField, button etc.
➔ driver package: starts with qas.webdriver and ends with driver
This package contains driver and utilities class needed to run whole framework.
➔ executor package:starts with qas.webdriver and ends with executor
This package has java main class which drives the whole framework.
➔ pages package: starts with qas.webdriver and ends with pages
This package has various pages corresponding to screens in the mobile app.
➔ testdata package: starts with qas.webdriver and ends with testdata
This package has separate properties files with testdata for each TestNG class.
Steps to run the framework
➔ Start webkit-proxy by issung command:
Page 6 October 15, 2015
ios_webkit_debug_proxy -c <UDID>:27753 -d
Replace UDID with your device UDID
22753 is the port where webkit-proxy will start.
For example command becomes
==>ios_webkit_debug_proxy -c 19d175af0d583250570695b1949e1bdc7241505c:27753 -d
➔ Start appium server by hitting Launch button.
Note that “Prelaunch Application” in Appium Preferences should be unchecked.
➔ Run and build the appium Project by right clicking ANT build.xml in eclipse and selecting “RunAs”
option as ANT build.
Running the project from Jenkins
➔ Start Jenkins.
➔ Create free style job.
➔ Set up SVN configuration and provide the path of maven project.
➔ Add “Execute Shell” build step.
➔ In build step add ANT and set target as “main”
➔ Set email recipients and subject.
➔ Save the configuration.
➔ Build the project.
Page 7 October 15, 2015

Weitere ähnliche Inhalte

Was ist angesagt?

Appium: Mobile Automation Made Awesome
Appium: Mobile Automation Made AwesomeAppium: Mobile Automation Made Awesome
Appium: Mobile Automation Made AwesomeNetcetera
 
Introduction To Appium With Robotframework
Introduction To Appium With RobotframeworkIntroduction To Appium With Robotframework
Introduction To Appium With RobotframeworkSyam Sasi
 
How to Install and Configure Jenkins on Centos 7
How to Install and Configure Jenkins on Centos 7How to Install and Configure Jenkins on Centos 7
How to Install and Configure Jenkins on Centos 7AniketGoyal14
 
Building the Test Automation Framework - Jenkins for Testers
Building the Test Automation Framework - Jenkins for TestersBuilding the Test Automation Framework - Jenkins for Testers
Building the Test Automation Framework - Jenkins for TestersWilliam Echlin
 
Continuous Integration (Jenkins/Hudson)
Continuous Integration (Jenkins/Hudson)Continuous Integration (Jenkins/Hudson)
Continuous Integration (Jenkins/Hudson)Dennys Hsieh
 
Android + jenkins
Android + jenkinsAndroid + jenkins
Android + jenkinsFred Lin
 
No more waiting for API - Android Stub Server
No more waiting for API - Android Stub ServerNo more waiting for API - Android Stub Server
No more waiting for API - Android Stub ServerSylwester Madej
 
What is Spring Boot and Why Spring Boot ?
What is Spring Boot and Why Spring Boot ?What is Spring Boot and Why Spring Boot ?
What is Spring Boot and Why Spring Boot ?narendrachinnu
 
Continuous Delivery Using Jenkins
Continuous Delivery Using JenkinsContinuous Delivery Using Jenkins
Continuous Delivery Using JenkinsCliffano Subagio
 
Automated-Testing-inside-containers
Automated-Testing-inside-containersAutomated-Testing-inside-containers
Automated-Testing-inside-containersManoj Kumar Kumar
 
Automation Testing
Automation TestingAutomation Testing
Automation TestingRomSoft SRL
 
Connecting Connect with Spring Boot
Connecting Connect with Spring BootConnecting Connect with Spring Boot
Connecting Connect with Spring BootVincent Kok
 
"I have a framework idea" - Repeat less, share more.
"I have a framework idea" - Repeat less, share more."I have a framework idea" - Repeat less, share more.
"I have a framework idea" - Repeat less, share more.Fabio Milano
 
Presentation_Protractor
Presentation_ProtractorPresentation_Protractor
Presentation_ProtractorUmesh Randhe
 
Building a Spring Boot Application - Ask the Audience! (from JVMCon 2018)
Building a Spring Boot Application - Ask the Audience! (from JVMCon 2018)Building a Spring Boot Application - Ask the Audience! (from JVMCon 2018)
Building a Spring Boot Application - Ask the Audience! (from JVMCon 2018)🎤 Hanno Embregts 🎸
 
Selenium, Appium, and Robots!
Selenium, Appium, and Robots!Selenium, Appium, and Robots!
Selenium, Appium, and Robots!hugs
 

Was ist angesagt? (20)

Welcome to Jenkins
Welcome to JenkinsWelcome to Jenkins
Welcome to Jenkins
 
Appium: Mobile Automation Made Awesome
Appium: Mobile Automation Made AwesomeAppium: Mobile Automation Made Awesome
Appium: Mobile Automation Made Awesome
 
Spring boot
Spring bootSpring boot
Spring boot
 
Introduction To Appium With Robotframework
Introduction To Appium With RobotframeworkIntroduction To Appium With Robotframework
Introduction To Appium With Robotframework
 
How to Install and Configure Jenkins on Centos 7
How to Install and Configure Jenkins on Centos 7How to Install and Configure Jenkins on Centos 7
How to Install and Configure Jenkins on Centos 7
 
Building the Test Automation Framework - Jenkins for Testers
Building the Test Automation Framework - Jenkins for TestersBuilding the Test Automation Framework - Jenkins for Testers
Building the Test Automation Framework - Jenkins for Testers
 
Continuous Integration (Jenkins/Hudson)
Continuous Integration (Jenkins/Hudson)Continuous Integration (Jenkins/Hudson)
Continuous Integration (Jenkins/Hudson)
 
Android + jenkins
Android + jenkinsAndroid + jenkins
Android + jenkins
 
No more waiting for API - Android Stub Server
No more waiting for API - Android Stub ServerNo more waiting for API - Android Stub Server
No more waiting for API - Android Stub Server
 
Spring boot
Spring bootSpring boot
Spring boot
 
What is Spring Boot and Why Spring Boot ?
What is Spring Boot and Why Spring Boot ?What is Spring Boot and Why Spring Boot ?
What is Spring Boot and Why Spring Boot ?
 
Continuous Delivery Using Jenkins
Continuous Delivery Using JenkinsContinuous Delivery Using Jenkins
Continuous Delivery Using Jenkins
 
Automated-Testing-inside-containers
Automated-Testing-inside-containersAutomated-Testing-inside-containers
Automated-Testing-inside-containers
 
Automation Testing
Automation TestingAutomation Testing
Automation Testing
 
Connecting Connect with Spring Boot
Connecting Connect with Spring BootConnecting Connect with Spring Boot
Connecting Connect with Spring Boot
 
Spring boot
Spring bootSpring boot
Spring boot
 
"I have a framework idea" - Repeat less, share more.
"I have a framework idea" - Repeat less, share more."I have a framework idea" - Repeat less, share more.
"I have a framework idea" - Repeat less, share more.
 
Presentation_Protractor
Presentation_ProtractorPresentation_Protractor
Presentation_Protractor
 
Building a Spring Boot Application - Ask the Audience! (from JVMCon 2018)
Building a Spring Boot Application - Ask the Audience! (from JVMCon 2018)Building a Spring Boot Application - Ask the Audience! (from JVMCon 2018)
Building a Spring Boot Application - Ask the Audience! (from JVMCon 2018)
 
Selenium, Appium, and Robots!
Selenium, Appium, and Robots!Selenium, Appium, and Robots!
Selenium, Appium, and Robots!
 

Andere mochten auch

Данные в образовательной политике
Данные в образовательной политикеДанные в образовательной политике
Данные в образовательной политикеЕлена Петряева
 
Demure Manner - Marie Claire Indonesia April 2015 Fashion Spread
Demure Manner - Marie Claire Indonesia April 2015 Fashion SpreadDemure Manner - Marie Claire Indonesia April 2015 Fashion Spread
Demure Manner - Marie Claire Indonesia April 2015 Fashion SpreadAnung Kamaswara
 
DSPGeo Institucional Presentation
DSPGeo Institucional PresentationDSPGeo Institucional Presentation
DSPGeo Institucional PresentationDspgeo
 
Ecosystems vocabulary
Ecosystems vocabularyEcosystems vocabulary
Ecosystems vocabularyembaltz1
 
It contract pitch
It contract pitchIt contract pitch
It contract pitchLuke Smith
 
трек №4.данные в ос занятии
трек №4.данные в ос занятиитрек №4.данные в ос занятии
трек №4.данные в ос занятииЕлена Петряева
 
'Audience research' survey results | polldaddy.com
'Audience research' survey results | polldaddy.com'Audience research' survey results | polldaddy.com
'Audience research' survey results | polldaddy.comFCJacobWilding
 
Effects of Quantum Dots on Zebrafish Development
Effects of Quantum Dots on Zebrafish DevelopmentEffects of Quantum Dots on Zebrafish Development
Effects of Quantum Dots on Zebrafish DevelopmentJulia MacDougall
 
Erik Rosas_LinkedIn_Resume
Erik Rosas_LinkedIn_ResumeErik Rosas_LinkedIn_Resume
Erik Rosas_LinkedIn_ResumeErik Rosas
 
Soal un-matematika-ips-2013-kode-mtk ips-sa_63
Soal un-matematika-ips-2013-kode-mtk ips-sa_63Soal un-matematika-ips-2013-kode-mtk ips-sa_63
Soal un-matematika-ips-2013-kode-mtk ips-sa_63Firdika Arini
 
Convergence of Compliance & Technology: How Technology Has Changed Regulatory...
Convergence of Compliance & Technology: How Technology Has Changed Regulatory...Convergence of Compliance & Technology: How Technology Has Changed Regulatory...
Convergence of Compliance & Technology: How Technology Has Changed Regulatory...MasterControl
 
Special effects vocabulary
Special effects vocabularySpecial effects vocabulary
Special effects vocabularysathornton
 
Special effects
Special effectsSpecial effects
Special effectssimarjeet
 

Andere mochten auch (16)

Данные в образовательной политике
Данные в образовательной политикеДанные в образовательной политике
Данные в образовательной политике
 
Demure Manner - Marie Claire Indonesia April 2015 Fashion Spread
Demure Manner - Marie Claire Indonesia April 2015 Fashion SpreadDemure Manner - Marie Claire Indonesia April 2015 Fashion Spread
Demure Manner - Marie Claire Indonesia April 2015 Fashion Spread
 
DSPGeo Institucional Presentation
DSPGeo Institucional PresentationDSPGeo Institucional Presentation
DSPGeo Institucional Presentation
 
Presentación1
Presentación1Presentación1
Presentación1
 
Ecosystems vocabulary
Ecosystems vocabularyEcosystems vocabulary
Ecosystems vocabulary
 
It contract pitch
It contract pitchIt contract pitch
It contract pitch
 
трек №4.данные в ос занятии
трек №4.данные в ос занятиитрек №4.данные в ос занятии
трек №4.данные в ос занятии
 
'Audience research' survey results | polldaddy.com
'Audience research' survey results | polldaddy.com'Audience research' survey results | polldaddy.com
'Audience research' survey results | polldaddy.com
 
Effects of Quantum Dots on Zebrafish Development
Effects of Quantum Dots on Zebrafish DevelopmentEffects of Quantum Dots on Zebrafish Development
Effects of Quantum Dots on Zebrafish Development
 
Erik Rosas_LinkedIn_Resume
Erik Rosas_LinkedIn_ResumeErik Rosas_LinkedIn_Resume
Erik Rosas_LinkedIn_Resume
 
Soal un-matematika-ips-2013-kode-mtk ips-sa_63
Soal un-matematika-ips-2013-kode-mtk ips-sa_63Soal un-matematika-ips-2013-kode-mtk ips-sa_63
Soal un-matematika-ips-2013-kode-mtk ips-sa_63
 
Data 26.09.2015
Data 26.09.2015Data 26.09.2015
Data 26.09.2015
 
fondazioni di comunità
fondazioni di comunitàfondazioni di comunità
fondazioni di comunità
 
Convergence of Compliance & Technology: How Technology Has Changed Regulatory...
Convergence of Compliance & Technology: How Technology Has Changed Regulatory...Convergence of Compliance & Technology: How Technology Has Changed Regulatory...
Convergence of Compliance & Technology: How Technology Has Changed Regulatory...
 
Special effects vocabulary
Special effects vocabularySpecial effects vocabulary
Special effects vocabulary
 
Special effects
Special effectsSpecial effects
Special effects
 

Ähnlich wie ApppiumDoc_version2015

Automation testing on ios platform using appium
Automation testing on ios platform using appiumAutomation testing on ios platform using appium
Automation testing on ios platform using appiumAmbreen Khan
 
Getting started with appium
Getting started with appiumGetting started with appium
Getting started with appiumPratik Patel
 
Shifting landscape of mobile automation, and the future of Appium - Jonathan ...
Shifting landscape of mobile automation, and the future of Appium - Jonathan ...Shifting landscape of mobile automation, and the future of Appium - Jonathan ...
Shifting landscape of mobile automation, and the future of Appium - Jonathan ...Applitools
 
Android UI Testing with Appium
Android UI Testing with AppiumAndroid UI Testing with Appium
Android UI Testing with AppiumLuke Maung
 
Setting Apple's UI Automation Free with Appium
Setting Apple's UI Automation Free with AppiumSetting Apple's UI Automation Free with Appium
Setting Apple's UI Automation Free with Appiummobiletestsummit
 
Run your Appium tests using Docker Android - AppiumConf 2019
Run your Appium tests using Docker Android - AppiumConf 2019Run your Appium tests using Docker Android - AppiumConf 2019
Run your Appium tests using Docker Android - AppiumConf 2019Sargis Sargsyan
 
Django simplified : by weever mbakaya
Django simplified : by weever mbakayaDjango simplified : by weever mbakaya
Django simplified : by weever mbakayaMbakaya Kwatukha
 
Android App development and test environment, Understaing android app structure
Android App development and test environment, Understaing android app structureAndroid App development and test environment, Understaing android app structure
Android App development and test environment, Understaing android app structureVijay Rastogi
 
Appium overview (Selenium Israel #2, Feb. 2014)
Appium overview (Selenium Israel #2, Feb. 2014)Appium overview (Selenium Israel #2, Feb. 2014)
Appium overview (Selenium Israel #2, Feb. 2014)danielputerman
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Javaamaankhan
 
Automated Smoke Tests with Protractor
Automated Smoke Tests with ProtractorAutomated Smoke Tests with Protractor
Automated Smoke Tests with Protractor🌱 Dale Spoonemore
 
Appium Meetup #2 - Mobile Web Automation Introduction
Appium Meetup #2 - Mobile Web Automation IntroductionAppium Meetup #2 - Mobile Web Automation Introduction
Appium Meetup #2 - Mobile Web Automation Introductionsnevesbarros
 
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)Ryan Cuprak
 

Ähnlich wie ApppiumDoc_version2015 (20)

Automation testing on ios platform using appium
Automation testing on ios platform using appiumAutomation testing on ios platform using appium
Automation testing on ios platform using appium
 
Getting started with appium
Getting started with appiumGetting started with appium
Getting started with appium
 
Shifting landscape of mobile automation, and the future of Appium - Jonathan ...
Shifting landscape of mobile automation, and the future of Appium - Jonathan ...Shifting landscape of mobile automation, and the future of Appium - Jonathan ...
Shifting landscape of mobile automation, and the future of Appium - Jonathan ...
 
Browser_Stack_Intro
Browser_Stack_IntroBrowser_Stack_Intro
Browser_Stack_Intro
 
ATAGTR2017 Appium
ATAGTR2017 AppiumATAGTR2017 Appium
ATAGTR2017 Appium
 
Android UI Testing with Appium
Android UI Testing with AppiumAndroid UI Testing with Appium
Android UI Testing with Appium
 
Setting Apple's UI Automation Free with Appium
Setting Apple's UI Automation Free with AppiumSetting Apple's UI Automation Free with Appium
Setting Apple's UI Automation Free with Appium
 
Run your Appium tests using Docker Android - AppiumConf 2019
Run your Appium tests using Docker Android - AppiumConf 2019Run your Appium tests using Docker Android - AppiumConf 2019
Run your Appium tests using Docker Android - AppiumConf 2019
 
Django simplified : by weever mbakaya
Django simplified : by weever mbakayaDjango simplified : by weever mbakaya
Django simplified : by weever mbakaya
 
Android App development and test environment, Understaing android app structure
Android App development and test environment, Understaing android app structureAndroid App development and test environment, Understaing android app structure
Android App development and test environment, Understaing android app structure
 
Spring Boot
Spring BootSpring Boot
Spring Boot
 
Appium overview (Selenium Israel #2, Feb. 2014)
Appium overview (Selenium Israel #2, Feb. 2014)Appium overview (Selenium Israel #2, Feb. 2014)
Appium overview (Selenium Israel #2, Feb. 2014)
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
 
Automated Smoke Tests with Protractor
Automated Smoke Tests with ProtractorAutomated Smoke Tests with Protractor
Automated Smoke Tests with Protractor
 
Appium solution
Appium solutionAppium solution
Appium solution
 
Appium
AppiumAppium
Appium
 
Appium Meetup #2 - Mobile Web Automation Introduction
Appium Meetup #2 - Mobile Web Automation IntroductionAppium Meetup #2 - Mobile Web Automation Introduction
Appium Meetup #2 - Mobile Web Automation Introduction
 
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
 
citus™ iot ecosystem
citus™ iot ecosystemcitus™ iot ecosystem
citus™ iot ecosystem
 
Intro to PhoneGap
Intro to PhoneGapIntro to PhoneGap
Intro to PhoneGap
 

ApppiumDoc_version2015

  • 1. iOS automation with appium Page 1 October 15, 2015
  • 2. Document Revision History: Version Date Revised By Comments 1 27/11/14 Amit Dewan Initial Version 2 29/01/15 Amit Dewan Remake version Page 2 October 15, 2015
  • 3. Contents • Appium working on iOS • Requirements • Install Appium Server • Install ios Webkit Debug Proxy • SafariLauncher app • Ios Device • Xcode and Command Line Utilities • Eclipse IDE • Java ANT Project • Package Structure • Steps to run the framework • Running the project from Jenkins Appium working on iOS Appium is an open source test automation tool developed and supported by Sauce Labs to automate native Page 3 October 15, 2015
  • 4. and hybrid mobile apps. It uses JSON wire protocol internally to interact with iOS web and native apps using the Selenium WebDriver Appium server is written in Node.js and talks to iOS using UIAutomation via Instruments Workflow Diagram Requirements (1) Mac m/c (details: OSX10.7.5, JDK:1.7) (2) appium-0.12.3.dmg (3) ios-webkit-debug-proxy-master.zip (4) Eclipse IDE (5) selenium-server-standalone-2.35.0.jar (6) TestNG (7) ANT (8) Jenkins with Tomcat server. (9) SafariLauncher app on m/c (10) Any ios device (provisioned with SafariLauncher app) (11) Xcode and Command Line Utilities Install Appium Server Install Appium server from appium-0.12.3.dmg on mac machine. Configurations on Appium server: Set IP Address, port, Safari Launcher App path and UDID of the device. See the following figure and set all the configurations exactly as shown. Replace the app path with the SafariLauncher path placed in your computer and replace the UDID of the Page 4 October 15, 2015
  • 5. device with UDID of your device. Appium Configuration In Appium Preferences, uncheck Prelaunch Application Install ios Webkit Debug Proxy Extrract ios-webkit-debug-proxy-master.zip in any suitable location. Folder with name “ios-webkit-debug-proxy” will be created with src directory in it. SafariLauncher app This app is used to launch safari browser on ios device with 30 seconds delay. App needs to be installed on the device to be tested. App's app file path also needs to be given to appium server. Ios Device iOS device which needs to be tested should be provisoned from Apple's portal. With SafariLauncher app installed on the device, it is ready to be tested for Appium automation tests. Xcode and Command Line Utilities Xcode, Instruments and other utilities should be installed on the machine. Command Line Utilities of xcode should be turned on. Eclipse IDE • Create Java ANT project on JDK 1.7 • Create subversion repository. ANT Project • Create ANT project with build.xml • In build.xml, set dependencies for TestNG, selenium-server and java-tools. Page 5 October 15, 2015
  • 6. • In build.xml set target for running java main class • Create “suite” folder to place all TestNG suites. • Create “TestResults” folder to store all results. • Create “config” folder to place framework properties file “config.properties” Folder Structure in eclipse Package Structure ➔ test package: starts with qas and ends with test This package contains all the TestNG test scripts. ➔ controls package:starts with qas.webdriver and ends with controls This package includes all controls available on device screen like TextField, button etc. ➔ driver package: starts with qas.webdriver and ends with driver This package contains driver and utilities class needed to run whole framework. ➔ executor package:starts with qas.webdriver and ends with executor This package has java main class which drives the whole framework. ➔ pages package: starts with qas.webdriver and ends with pages This package has various pages corresponding to screens in the mobile app. ➔ testdata package: starts with qas.webdriver and ends with testdata This package has separate properties files with testdata for each TestNG class. Steps to run the framework ➔ Start webkit-proxy by issung command: Page 6 October 15, 2015
  • 7. ios_webkit_debug_proxy -c <UDID>:27753 -d Replace UDID with your device UDID 22753 is the port where webkit-proxy will start. For example command becomes ==>ios_webkit_debug_proxy -c 19d175af0d583250570695b1949e1bdc7241505c:27753 -d ➔ Start appium server by hitting Launch button. Note that “Prelaunch Application” in Appium Preferences should be unchecked. ➔ Run and build the appium Project by right clicking ANT build.xml in eclipse and selecting “RunAs” option as ANT build. Running the project from Jenkins ➔ Start Jenkins. ➔ Create free style job. ➔ Set up SVN configuration and provide the path of maven project. ➔ Add “Execute Shell” build step. ➔ In build step add ANT and set target as “main” ➔ Set email recipients and subject. ➔ Save the configuration. ➔ Build the project. Page 7 October 15, 2015