Experience & exploration about software QA tools & techniques.
Maintaining & writing blog posts on qavalidation.com!
Publishing video tutorials on youtube.com/qavbox
In this post, we will discuss the possible locator strategies that webdriverIO provides to identify browser elements. We can use below command to locate the browser element[s] browser.findElement(locator:String) or $(locator:String) browser.findElements(locator:String) or $$(locator:String) XPATH & CSSSelector patterns – webdriverIO supports all the xpath and CSS Selectors patterns. Along with Xpath / CSSSelector, webdriverIO has it’s…
WebdriverIO is an advanced automation framework for web and mobile application. It’s basically a wrapper on top of selenium (WebDriver protocol with nodeJS) for web automation and wrapper on top of appium for mobile application. As per the appium client, Appium suggests to use webdriverio for appium with javascript/typescript instead of deprecated appium javascript client…
Starting from appium 2.x, appium decoupled appium drivers from it’s base installation. Now users need to install appium drivers individually as per the need basis. Install appium 2 – To install the appium 2 globally on your machine – npm install -g appium If you are using mac, then you can run using sudo command…
To setup ios simulator for Appium, you need to have MacOS system and xcode. Download xcode Download from here xcode will have all the iPhone models as simulators along with iPads. You can download / install specific iOS versions from the Xcode > Preferences When you open the xcode, this will prompt to install necessary…
With the introduction of appium server 2.x, we have to run the appium server either by code or as CLI command, we can’t use the appium desktop which in turn provides the appium inspector. To overcome above issue, appium provided separate appium inspector tool. There are 2 ways to get the appium inspector tool Web…
Appium team has migrated the appium server to 2.x (currently in beta) which involves lot’s of changes in terms of usage but not impacting any of the automation behaviour. Highlights of appium changes – Install the latest appium server you can use below npm command (there is no GUI as we have for 1.x) sudo…
In our previous post, we have seen global waits and timeouts applicable for Page, script or test wise. WebdriverIO provides some more wait methods applicable to individual elements based on specific conditions and they are as follows – waitForClickable waitForExist waitForEnabled waitForDisplayed Note – all these above methods are applicable for the element level not…
We often get confused when fetching text or value entered from a textBox on HTML DOM. in this post we will see how we can get the text entered from textBox and then we will understand getText() vs getAttribute(“value”). How to fetch text from textBox For this we will consider the Full Name textbox from…
Cypress made some visible changes to project structure when you migrate the cypress version to v10. In this post, we will see step by step guide to migrate to v10 and understand the folder structure. Open your existing project in VScode. Open command prompt / terminal (CTRL + `) Type below command to upgrade cypress…