Posts

Native Apps - Inspect elements by using UI Automator Viewer and Appium Desktop Inspector

Image
There are many different tools that help you inspect elements in mobile apps. But the most popular and widely used tools are: 1. UIAutomatorViewer : This is a tool provided by Android Studio that lets you inspect elements in the mobile app NOTE : The  UIAutomatorViewer can be used only for android native apps. 2. Appium Desktop Inspector : The latest version of Appium GUI (Appium Desktop) comes with an inspector. We can use this inspector for both Android and iOS apps (for iOS apps, you would need a Mac). How to open UIAutomatorViewer : UIAutomatorViewer comes with Android Studio installation package. So when we install Android Studio, UIAutomatorViewer would automatically get installed with it. There are 2 ways in which we can open UIAutomatorViewer. Follow any of these methods to open it. Method 1: Open UIAutomatorViewer from Command Prompt This is the easiest way of opening UIAutomatorViewer. Just follow the steps given below to open it – Step 1.1 : Open command p...

SOAP WEB SERVICE TESTING WITH SOAPUI

Testing web services was always a quite different. Doing functional testing of applications having UI is quite fun I must admit. You have pages, buttons, labels, text-box, images, etc. You know the underlying logic. Just enter the test data, click some buttons to call the underlying functions and voila, you are good to go. Now, when you have web services to test, there is no UI involved (most of the time). You have to deal with XML files, XSDs, WSDLs, request and their responses and much more which for a functional tester might be overwhelming sometimes. Main features: Mocking the services →, With the help of SoapUI, we can easily mock the web services and test them thoroughly. We can use the WSDL file and it will auto-generate the services and all the methods it contains. So the hassle to create the services is now automated. It allows SOAP as well as REST services to mock. Testing Security → SoapUI allow us to test the security features too. We can test the database by S...

APPIUM TUTORIAL

Appium : Chapter 1:   Introduction to Appium Introduction to Appium Overview of Open Source Mobile Test Automation tools Open source Mobile Automation tool Evaluation docs Why APPIUM Limitations of APPIUM Appium architecture Chapter   2: Appium- Prerequisites & Installation for Windows Appium Prerequisites Java Installation & Configuring System Environmental variables Maven Configuration Android SDK configuration Eclipse IDE configuration Appium installation on windows  Chapter 3: Installation for APK Files What is an APK file Various sources to get APK files Installing application on real device using these APK files Automating INDIAMART-Login Automating Facebook- Post Status Automating Facebook- Delete Post & User Logout Chapter 4: Object identification UI Automator Component Element Locators Locating elements by resource ID Locating elements by name Locating elements by classname Locating elements by xpath C...