Does Toast Trouble you in this Digital Age?

Slides:



Advertisements
Similar presentations
Cross Platform UI testing using Sikuli
Advertisements

Mobile Access: BYOD Trends SCOTT DUMORE - DIRECTOR, TECHNOLOGY, CHANNELS & ALLIANCES AUTONOMY, HP SOFTWARE.
SOFTWARE PRESENTATION ODMS (OPEN SOURCE DOCUMENT MANAGEMENT SYSTEM)
Software and Multimedia
Integrated Messaging Platform Broadcast Mediawire Multi media Tailored Solutions.
Outcome: Participants will increase skills in the use and integration of technology in classroom instruction. Indicator: Participants will explore Evernote.
A VERY USEFUL E-LEARNING TOOL FOR TEACHERS, RESEARCHERS, AND STUDENTS.
Sikuli Ivailo Dinkov QA Engineer PhoneX Team Telerik QA Academy.
© 2012 WIPRO LTD | 1 Version 1.0a, 23 rd April 2012 TTCN-3 Users Conference Practical integration of TTCN-3 with Robot test automation framework.
Get more out of your OKI MFP
System Analysis and Design
Basic User Guide to Outlook. Info: Manage account settings, create automatic replies to s, clean up your mailbox, and create Rules and Alerts Print:
1 DIAL (Document Management System). 2 DIAL  Highly scalable, database solution package for managing:  Scanned Documents  Electronic Documents  Dynamically.
Microsoft FrontPage 2003 Illustrated Complete Creating a Form.
Altman IM Ltd | | process | verify | convert | route | connect Prism Software’s solutions provide advanced workflow.
Mohit Anand, Software Engineer Adobe 1 Selecting GUI Automation Testing Tool for Mobile Domain.
Imaging and Workflow For Accounts Payable. Accounts Payable gets Invoice in mail from vendor AP Clerk scans invoice. AP Clerk routes image of invoice.
Interactions & Automations
Using Dropbox and Evernote Available for mobile from the Apple and Android Stores.
Architecture Review 10/11/2004
ICE Integrated Cloud Environment Cloud Scanning and Mobile Printing
Core ELN Training: Office Web Apps (OWA)
Dispatcher Phoenix Is…
Detect Layout Bugs By Simulating Human Eye
TEST AUTOMATION IN BDD WAY
Weebly Elements, Continued
Functional Automation Framework
ArcGIS Workflow Manager: Advanced Workflows and Concepts
Managing The Internet of Things
Now every configuration is possible
Android.
Mobile Application Test Case Automation
Elevator Inspection System
Robotic Process Automation Training| RPA online Training at GoLogica
Test Automation for IoT solutions A Paradigm shift
SELENIUM –CI USING OPEN SOURCE TOOL
Galen - Automated testing of look and feel
Cross platform automated appium testing - A Primer
Introducing OmniPage Ultimate
USAGE OF VARIOUS AUTOMATION TOOLS TO ACHIEVE WIDER TEST COVERAGE
Software and Multimedia
Fitness Business Trends In 2018 You Must Know
Advantages OF BDD Testing
H5P: Using an Interactive Assessment Tool in Moodle
Software and Multimedia
Test Data Management (TDM)
Continuous Automated Chatbot Testing
Faster delivery using Device Farm
Why many Automation Frameworks? when ONE can do ALL
Social Media And Global Computing Introduction to Visual Studio
Unleashing the power of customized reports testing framework
Multilingual Application Testing
Understanding the Visual IDE
Optical Character Recognition
Achieve Next level of Automation with Robotic Test Automation
ABOUT ME MY NAME IS DIOSDADO MACASAET OR DON
Lawson ProcessFlow Overview and Actual ProcessFlow Solutions
Automated Bulk Signing Solution
Chapter 7 –Implementation Issues
Office Edition Overview (Dec. 2018).
How to Improve Releasing Efficiency via i18N/L10n Test Automation.
DEVOPS & THE FUTURE OF TESTING
Simplify the way you collect, integrate and share field data.
MyLion Registration Website | Mobile device
Microsoft Windows 7 Basics
What is UiPATH? For more details visit this link online-training.
Esri Production Mapping: An Introduction
Presentation transcript:

Does Toast Trouble you in this Digital Age? Nancy Jerfia Gladson – Test Analyst Surendar Ramanathan Sadagopan – Test Analyst Gopinath Mohanraj – Test Manager Excelacom Technologies Pvt. Ltd, Chennai

Abstract The Digital new age is immensely evolving with new technologies and new solutions to the problems faced? The intent of this paper is to provide a solution to the challenges faced while verifying the Toast message developed as part of the mobile automation testing. Usually, the toast message appears and flashes off within seconds. Handling the toasts was a challenge and faced many technical hardships. Element ID’s not found in the UI Automator for Android and Simulator in iOS. The solution was using Tesseract class available as an open source jar. Integrated Tesseract with Appium to capture the image of the Toast and read the text in the captured image and then test verify the text. The main advantage of using Tesseract is that it will improve the accuracy of the result and performance.

Problem Statement Toast messages are a quick way of telling the user something. They are short pop- up messages that flashes off within seconds. Toast is a system property of any android or iOS application. Handling the toasts was a challenge and faced many technical hardships. Element ID’s for the toast will not be available in the UI Automator and Simulator.

Problem Statement - Stats People spend 17% more time on mobile than they do on desktop. Only 8% of smartphone users engage with more than 10 apps per day, 63% use between 4-10 on daily basis, and 29% use 0-3 apps per day. 50% of people only opted into receiving push notifications from their favorite apps, according to a survey.

Solution Optical Character Recognition using Tesseract object. OCR is the process of electronically extracting text from images and reusing it in variety of ways such as document editing, free-text searches, or compression. Folder structure should be maintained same like in the image where the tesseract class and the supporting jars and library files are to be placed

Capability settings The supportive .dll files and the tess4j jar has to be placed in the lib folder. tess4j.jar – This jar is used to call the methods for Optical Character Recognition using Tesseract object. tessdll.dll – A library file which needs to be set in the program’s path. eng.traineddata – This is a compressed data file which contains all the letters and words in English.

Toast Message Validation – Option 1 Take the toast message displayed screen as a screenshot and send the screenshot path as screen in instance.doOCR(screen). Check the required toast message is displayed in the result. Validate the result.

Toast Message Validation – Option 1 Syntax for creating OCR

Toast Message Validation – Option 2 Using Sikulix GUI interaction using screenshots. Used when ID/name is not found in UI Automator or Simulator. It will check the appearance of the image and if match found, it will interact with the image accordingly.

Toast Message Validation – Option 2 Using Sikulix

Appium WorkFlow

Continuous Integration – Using Jenkins Jobs are triggered once the developers provide the apk file. Jenkins is going to perform some build jobs taking input from the file.

Continuous Integration – Using Jenkins Builds can also be scheduled using Cron pattern. Status mail is sent for each build for specified stakeholders Useful for weekend execution

Test Results from Jenkins

Take Away:- Automatic identification of Toasts during test automation. Two ways of handling toasts have been provided Jenkins – Job can be triggered once the developers provide the apk file. Also helps to Schedule a nightly and weekend execution in the absence of resources. Handling the toast message was a challenge that has been addressed here.

References & Appendix Appium:- http://toolsqa.com/mobile-automation/appium/appium-tutorial/ Optical Character Recognition in Android using Tesseract: - http://opensourceforu.com/2016/08/23297/ Automated Jenkins execution: - https://www.tutorialspoint.com/jenkins/jenkins_automated_testing.htm

Author Biography Nancy Jerfia G -Test Analyst – Automation Has 3+ years of Experience in Automation Testing in UFT, Selenium and Appium. Involved in Designing New Framework for Automation Projects. Surendar R S - Test Analyst – Automation Has 2+ years of Exeperience in Mobile Automation using Appium, also have an experience in Selenium. Gopinath Mohanraj - Test Manager Has 11 + Years of Experience in Functional & Automation Testing (Mobile & Web) in Telecom Domain and has knowledge in CRM, Billing Systems and provisioning system. Also, managed and implemented many Open source Tools / Commercial Tools to the organization requirements.

Thank You!!!