Home > Amit Bharamasali

Different approaches for writing effective Xpaths for Web Automation

Are you new to web automation and struggling with crafting Xpaths for various scenarios? Look no further – this guide covers all possible ways to write Xpaths to suit every situation. Whether the web element's text is dynamic, attributes are unique, or you're dealing with complex structures, we've got you

This Article is TAGGED in , , , , , , , , . Read more

Sample script in robot framework

Create new file in project with .robot extension.  Robot file contains below sections:  Setting  Variables  Keywords  Test Cases  In setting section all imports can be defined. In variables section, Test data should be defined. In Keywords section, All operations can be defined by calling predefined keywords. In Test Cases section, All operations can be performed by calling user defined keywords.     Here is the

This Article is TAGGED in , , . Read more

How to Inspect Elements of android Apps

1.Download and Install Android studio from https://developer.android.com/studio/?gclid=CjwKCAiAkrTjBRAoEiwAXpf9Ca1elpQO4-roBhqiwirYqy1-CCqxfVSpGaQcum38H1rAP3eyUQULoxoC0ZUQAvD_BwE 2.In command prompt Navigate to the location C:\Users\username\AppData\Local\Android\Sdk\tools 3.Run monitor.bat 4.Launch Android studio 5.launch AVD Manager from Tools 6.Click on “Launch this AVD in emulator” icon to launch emulator. 7.In emulator open the App which you want to inspect. 8.In Android Device Monitor click on “Dump View Hierarchy for UI

This Article is TAGGED in , . Read more

Spy(Element Identification) tool for automating windows 10 applications

I was recently automating windows application and searching for spy tools to identify windows 10 elements. I found “WAD UIRecorder” tool which works better compare to other spy tools in Windows 10. Follow below steps to download and configure “WAD UIRecorder”: Step1: Below is the link to download the spy tool. https://github.com/microsoft/WinAppDriver/releases Step2: Click

This Article is TAGGED in , . Read more

Integrating Winium with Katalon studio

Winium is used to automate windows applications. Katalon does not support windows automation. If any web application needs interaction with windows application then we can integrate Winium with Katalon studio. Below are the steps to integrate Winium with Katalon Studio: Step1: Download the Zip file “Winium.Desktop.Driver.zip” from https://github.com/2gis/Winium.Desktop/releases Step2: Extract the downloaded Zip

This Article is TAGGED in , , . Read more

Finding elements of table in selenium

Elements in table can be accessed using xpath. Here is the sample HTML code: [crayon-67370c870a5ec655665426/] To locate first “td” in first “tr” in above HTML code. Below is the xpath:   //table//tr[1]/td[1] To locate second “td” in first “tr”. Below is the xpath. //table//tr[1]/td[2] To locate cells of Pune and Mumbai below is the xpath. //table//tr[1]/td To locate the

This Article is TAGGED in , . Read more

Types of locators and best practices to use locators in selenium

There are 8 locators in selenium. Those are... tagName id name className linkText partialLinkText cssSelector xpath It is confusing to decide which locator to select while identifying the element. To avoid the confusion below are the best practices while selecting the locators. First preference should be given to tagName. If tagName is not unique or not available then next preference should

This Article is TAGGED in , , . Read more

Parallel execution of script in multiple browsers using selenium

Single script can be ran in multiple browsers. To perform that we need to define browser configurations in testng.xml file. [crayon-67370c870a6d3719717076/] In class name we can mention script name. We can mention same script name or multiple script names. If you want to run in 3 different browsers then just copy test

This Article is TAGGED in , . Read more

Integration of Katalon Reports into Microsoft Teams

Katalon execution results can be reported in Microsoft Teams by using this Add-on. Make sure you have latest version of Katalon Studio downloaded. To Send execution report in Microsoft Teams we need to follow below steps. Configurations in Microsoft Teams: Step1: Navigate to Microsoft Teams where you need execution reports. Click on more

This Article is TAGGED in . Read more

Software Automation Test Life Cycle

Automation Test life cycle go through 7 phases mentioned below. Defining the automation scope Selecting the right tool for automation Automation Framework Design Setting up environment Test script development Test script execution and report generation Test script maintenance Defining the automation scope: In this phase it is necessary to check the Feasibility, Scope, Team size and Productivity of automation

This Article is TAGGED in . Read more