White: An UI Automation Framework/Tool for Windows Application
White framework is open-source, written in C# and it supports all rich client applications, which are Win32, Win Form, WPF. It is .NET based…
White framework is open-source, written in C# and it supports all rich client applications, which are Win32, Win Form, WPF. It is .NET based…
Smart Wifi Plug IoT Security Case Study Introduction: The objective of IoT security research was to identify possible attacks that a malicious attacker…
I recently initiated an idea that led to a team from Pramati Technologies (Antony Raj, Pragadeeswaran, Vasanth, Arun Kumar, and me) participating in the…
Imaginea is contributing to Appium and its recent contributions UIAutomator2 Driver and Server modules are released recently for end users. Here would like to…
This post is especially helpful for QA and designers (at least I hope it is) . Right now, if you want to test how a…
Brief Intro: Appium is a well known Open Source Automation Framework for automating Mobile Native, Hybrid and Web applications across platforms(Android, iOS, Windows and…
Overview Sample usage of UiSelector in Appium with example. To select instance by index [crayon-603d10d56ebbb026144512/] [crayon-603d10d56ebc0024828317/] [crayon-603d10d56ebc2633365397/] [crayon-603d10d56ebc4806623638/] [crayon-603d10d56ebc5256684562/] To click Locator…
Contents What is a Toast Message? Drawbacks of Appium? What is OCR? What is Tesseract API? How to integrate Tesseract API with Appium? What is a Toast Message A toast provides simple feedback about an operation in a small popup. It is displayed quickly and disappears after sometime. Once you set an alarm, a success message appears at the bottom of the screen. In the above diagram the message – This alarm is set for 10 hours and 7 minutes from now. is an example of Toast Message. Drawbacks of Appium These toast messages cannot be automated by using Appium. Because, the Android uiautomatorviewer cannot recognize the toast messages. What is OCR Optical Character Recognition, or OCR, is a technology that enables you to convert different types of documents, such as scanned paper documents, PDF files or images captured by a digital camera into editable and searchable data. So the only way to automate toast messages is take a screen shot with the toast message and use any text recognition library (OCR) in order to get the toast message text. What is Tesseract API We used Tesseract API for recognizing the text on a image. Tesseract works on Linux, Windows and Mac OS. One drawback with Tesseract is it cannot recognize the handwriting. As this drawback doesn’t hamper our task so we can go a head and use this API. How to integrate Tesseract API with Appium Include the below dependency in your maven project. [crayon-603d10d570e64433484116/] 2. Take a Screen shot of the page containing the toast message and place it in your hard disk. (Here I created a folder with name toastmessages and saved the image with name toastmessage1.png file.)…
Run Test Cases[Appium Mobile ] Parallel & Distribute in Emulator /Real Devices List of Contents Overview Configure tests for TestNG Configure test for Cucumber…
Based on the usage metrics of an application, clients usually ask us to test their application against most using devices, browsers by its customers.…