Download - Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014
![Page 1: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/1.jpg)
Solving Mobile Test Automa3on Challenges with TestComplete
![Page 2: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/2.jpg)
Tradi3onal Test Automa3on
• Workflow • Valida-on • Record & Replay • Scrip-ng
![Page 3: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/3.jpg)
What Challenges Do Mobile Devices
Present?
![Page 4: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/4.jpg)
Challenges
• Inputs • Fragmenta-on • Interrupts • Power Consump-on • Connec-vity • Geoloca-on Informa-on
![Page 5: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/5.jpg)
Inputs
![Page 6: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/6.jpg)
![Page 7: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/7.jpg)
![Page 8: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/8.jpg)
Gestures
• Swipes • Taps • Pinches • More complex ac-ons
![Page 9: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/9.jpg)
Approaches I’ll take
• Gesture Recorder
![Page 10: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/10.jpg)
Orienta3ons
![Page 11: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/11.jpg)
![Page 12: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/12.jpg)
![Page 13: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/13.jpg)
Approaches I’ll take
• Set/GetOrienta-on Commands
![Page 14: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/14.jpg)
Challenges
ü Inputs • Fragmenta-on • Interrupts • Power Consump-on • Connec-vity • Geoloca-on Informa-on
![Page 15: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/15.jpg)
Fragmenta3on
![Page 16: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/16.jpg)
Fragmenta3on
Graphic courtesy of PCMag
![Page 17: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/17.jpg)
½ of 1% of 18,796 = 94 devices
![Page 18: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/18.jpg)
Different Flavors of Android
![Page 19: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/19.jpg)
![Page 20: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/20.jpg)
Approaches I’ll Take
• Standard Eclipse Emulator
![Page 21: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/21.jpg)
Challenges
ü Inputs ü Fragmenta-on • Interrupts • Power Consump-on • Connec-vity • Geoloca-on Informa-on
![Page 22: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/22.jpg)
Interrupts
![Page 23: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/23.jpg)
Interrupt Tes3ng
• Texts • Calls • No-fica-ons
![Page 24: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/24.jpg)
Approaches I’ll take
• Calls & Texts = Skype • Wifi = use Windows as Hotspot • System Prompt = Low BaXery
![Page 25: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/25.jpg)
Skype Interrup3on System Prep
• Skype4COM • 2 Skype accounts
![Page 26: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/26.jpg)
Wifi Interrup3on System Prep
• Configure Windows as a hotspot • Toggle it on/off as part of test • Requires a wired and a wireless internet connec-on
![Page 27: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/27.jpg)
Low BaLery Interrup3on System Prep
• Use an emulator • Send Android Shell Commands • Telnet
![Page 28: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/28.jpg)
Telnet System Prep
• Installed separately • Using DotNetTelnet from hXp://dotneXelnet.sourceforge.net/
![Page 29: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/29.jpg)
Challenges
ü Inputs ü Fragmenta-on ü Interrupts • Power Consump-on • Connec-vity • Geoloca-on Informa-on
![Page 30: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/30.jpg)
Power Consump3on
![Page 31: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/31.jpg)
BaLery Tes3ng
• Monitor Power Levels • Adjust Power Levels
![Page 32: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/32.jpg)
Approaches I’ll Take
• Special TC commands to get power level
![Page 33: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/33.jpg)
Challenges
ü Inputs ü Fragmenta-on ü Interrupts ü Power Consump-on • Connec-vity • Geoloca-on Informa-on
![Page 34: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/34.jpg)
Connec3vity
![Page 35: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/35.jpg)
Connec3vity Tes3ng
• Dropped Cellular • Dropped Wifi • Dropped Bluetooth
![Page 36: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/36.jpg)
Approaches I’ll take
• Cellular – Airplane Mode • Wifi & Bluetooth – special TC commands
![Page 37: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/37.jpg)
Challenges
ü Inputs ü Fragmenta-on ü Interrupts ü Power Consump-on ü Connec-vity • Geoloca-on Informa-on
![Page 38: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/38.jpg)
Geoloca3on Data
![Page 39: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/39.jpg)
Geoloca3on Tes3ng
• GPS Awareness • GPS Mocking
![Page 40: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/40.jpg)
TestComplete Addresses
ü Tradi-onal Workflows ü Inputs ü Fragmenta-on ü Interrupts ü Power Consump-on ü Connec-vity ü Geoloca-on Informa-on
![Page 41: Solving Mobile Test Automation Challenges with TestComplete - Nick Olivo | FalafelCON 2014](https://reader034.vdocument.in/reader034/viewer/2022052323/559453e51a28abd94f8b47dd/html5/thumbnails/41.jpg)