Skip to content
  • Contact me
  • About me
  • Demo
  • DemoForm
  • TechStuff
Top Menu
Facebook page opens in new windowFacebook page opens in new windowX page opens in new windowYouTube page opens in new window
Facebook page opens in new windowFacebook page opens in new windowX page opens in new windowYouTube page opens in new window
qavalidation
qavalidation
QA tools and automation testing techniques
  • HOME
  • Selenium
    • Selenium-Java
    • Selenium-Python
    • Demo2
  • Appium
    • Appium tutorial
  • WebdriverIO
  • JavaForQA
    • Java interview questions for QA
    • ExcelRW
    • TestNG
  • More
    • Cypress
    • TestingBasics
    • MavenBuild
  • Training
Search:
Search:
Search:
  • HOME
  • Selenium
    • Selenium-Java
    • Selenium-Python
    • Demo2
  • Appium
    • Appium tutorial
  • WebdriverIO
  • JavaForQA
    • Java interview questions for QA
    • ExcelRW
    • TestNG
  • More
    • Cypress
    • TestingBasics
    • MavenBuild
  • Training
  • Contact me
  • About me
  • Demo
  • DemoForm
  • TechStuff
Top Menu
  • Contact me
  • About me
  • Demo
  • DemoForm
  • TechStuff
Top Menu
Facebook page opens in new windowFacebook page opens in new windowX page opens in new windowYouTube page opens in new window

Our Blog

Discover recent news and events!

View allAbbreviations...ADBcommandsAgileAPIAppiumAutoitAwareness...cssCypressDatabaseDockerEclipseExtentReportsgitgithubActionsInternet RelatedJavaForQAJavascriptExecutorJenkinsCIjmeterjsonMacOSMavenBuildMiscMobileOffline InstallerProtractorPythonQTP_VBScriptingQuality Center and QC OTASeleniumC#SeleniumPythonSeleniumTestingSikuliSoftwareTestingSome termstestngTestStackWhiteFrameworkTypeScriptUncategorizedWeb linksWebdriverIO_TSWindowsOSxpath
Sort by dateSort by name
DescendingAscending

Right way to find the appium path on MacOS

AppiumMarch 1, 2024

In this post, we will find how to find the right appium path on MacOS. We need the appium path…

Read more

Different ways to scroll using Appium [Android & iOS]

AppiumAugust 23, 2023

Scrolling up or down is one of the important action for any mobile application use. Scenario: some times elements can’t…

Read more

Sample Android & IOS apps to practice mobile automation testing

AppiumApril 3, 2023

In this post we will look into some of the freely available mobile applications (Android and IOS) to practice mobile…

Read more

Appium not able to launch android app – error:socket hang up

AppiumApril 1, 2023

Appium sometimes stuck and not able to run the android tests or not launching the andorid app with error as…

Read more

Run selenium tests parallel across browsers using hub node docker containers with docker-compose file

SeleniumTestingApril 1, 2023

In one of our post, we have discussed why to use docker containers to test or build something. Selenium has a…

Read more

Inspect & automate hybrid mobile apps (Android & IOS)

Appium, UncategorizedFebruary 28, 2023

In this post we will see how to inspect and automate hybrid mobile applications for Android and IOS. Handling Android…

Read more

Run selenium tests parallel in standalone docker containers using docker-compose file

Docker, SeleniumTestingDecember 17, 2022

In one of our post, we have discussed why to use docker containers to test or build something. Selenium has…

Read more

Run webdriverIO typescript web automation tests in browserstack

WebdriverIO_TSDecember 13, 2022

There are situations where you don’t want to maintain an infrastructure to run huge no. of tests, and willing to…

Read more

Assert the text entered in textbox using selenium – getText() vs getAttribute(“value”)

SeleniumTestingDecember 7, 2022

Many automation QAs confuse with which selenium method we need to use to fetch the textbox value from the web…

Read more

Run webdriverIO typescript tests using githubActions

githubActions, WebdriverIO_TSNovember 24, 2022

GithubActions is a CI/CD platform to automate build, test and deploy. We need to create workflows to trigger using githubActions,…

Read more

WebdriverIO locator strategies and how to use it

WebdriverIO_TSNovember 13, 2022

In this post, we will discuss the possible locator strategies that webdriverIO provides to identify browser elements. We can use…

Read more

Getting started with Appium and WebdriverIO for mobile app testing

Appium, WebdriverIO_TSSeptember 21, 2022

WebdriverIO is an advanced automation framework for web and mobile application. It’s basically a wrapper on top of selenium (WebDriver…

Read more

Guide to install & uninstall appium drivers uiautomator2, xcuitest etc

AppiumSeptember 21, 2022

Starting from appium 2.x, appium decoupled appium drivers from it’s base installation. Now users need to install appium drivers individually…

Read more

Setup Xcode, IOS and launch simulator for Appium (updated)

AppiumSeptember 19, 2022

To setup ios simulator for Appium, you need to have MacOS system and xcode. Download xcode Download from here xcode…

Read more

New Appium inspector & it’s usage

AppiumSeptember 16, 2022

With the introduction of appium server 2.x, we have to run the appium server either by code or as CLI…

Read more

Guide to Appium 2 server changes & installation

AppiumSeptember 14, 2022

Appium team has migrated the appium server to 2.x (currently in beta) which involves lot’s of changes in terms of…

Read more

waitFor* commands/methods in WebdriverIO

WebdriverIO_TSAugust 30, 2022

In our previous post, we have seen global waits and timeouts applicable for Page, script or test wise. WebdriverIO provides…

Read more

Fetch entered text from textbox – getText() vs getAttribute(“value”) in selenium

SeleniumTestingAugust 23, 2022

We often get confused when fetching text or value entered from a textBox on HTML DOM. in this post we…

Read more

Cypress v10 migration step by step

CypressJuly 31, 2022

Cypress made some visible changes to project structure when you migrate the cypress version to v10. In this post, we…

Read more

WebdriverIO timeouts – page, script and framework & more

WebdriverIO_TSJuly 30, 2022

There might be a situation where our script fails or taking long time if the application doesn’t load properly. Other…

Read more

Getting started with WebdriverIO with TypeScript

WebdriverIO_TSJune 17, 2022

WebdriverIO is an advanced automation framework for web and mobile application. It’s basically a wrapper on top of selenium (WebDriver…

Read more

Handle ShadowDom elements using Selenium 3 & 4

SeleniumTestingJune 16, 2022

ShadowDOM is used to separate certain HTML structure, JS and CSS from the actual application DOM. A DOM can have…

Read more

[resolved] – ExtentReport error java.lang.NoSuchFieldError: VERSION_2_3_30

SeleniumTestingMarch 19, 2022

To generate html report in your test automation framework, you are using ExtentReport library and getting error while running your…

Read more

driver.findElement() vs WebElement.findElement() in selenium

SeleniumTestingMarch 7, 2022

In selenium, we all know findElement() method finds the elements based on the locator matched criteria from the browser application.…

Read more

How to configure and open Apache Jmeter on Windows / Mac OS

jmeterMarch 2, 2022

Apache Jmeter is used to perform the performance testing of web applications and web services or API calls. You can…

Read more

Install and setup Java on Windows and Mac OS

JavaForQAMarch 2, 2022

If we want to write java programme or use any Java based application, we need to install and setup JDK.…

Read more

Why API testing is important and what to test?

API, SeleniumTestingFebruary 21, 2022

If you look at the Test pyramid (also refer to below image), more API testing is recommended over the UI…

Read more

Docker – what, why & docker terms

Docker, SeleniumC#, SeleniumPython, SeleniumTestingDecember 29, 2021

Docker is an open-source containerisation platform.  It enables to package applications into containers, standardised executable components combining application source code with the operating…

Read more

Do Java String has Reverse method, if not how to achieve?

JavaForQADecember 6, 2021

Java.lang.String do not have any inbuilt method as Reverse() to reverse a String, rather we can use Java.lang.StringBuffer which has…

Read more

Java singleton pattern in Selenium framework

SeleniumTestingDecember 2, 2021

The singleton pattern is a software design pattern that restricts the instantiation of a class to one “single” instance. Ensures that a…

Read more

BaseTest to handle browsers & share driver object across project

SeleniumTestingSeptember 28, 2021

In this post, we will be learning why we need to use Base classes for handling different browsers and then…

Read more

ReporterLog to send logs to testNG report & attach screenshot on test failure

SeleniumTesting, testngSeptember 19, 2021

In one of our previous post, we have seen how to use default testNG html report to understand the pass,…

Read more

Different ways to run selenium testNG tests or testng.xml using maven command line

SeleniumTesting, testngSeptember 6, 2021

You might be knowing everyone is suggesting to avoid hardcoding strings inside code like browser url, username, password, environment, which…

Read more

Find broken links using selenium

SeleniumTestingSeptember 4, 2021

In a web page, we see lot’s of links which directs user to different other screens of same or different…

Read more

Ways to run multiple testng.xml in Java

testngAugust 28, 2021

TestNG provides different ways to run multiple testng.xml files Through code Through testng.xml itself TestNG tutorial For this post let’s…

Read more

TestNG Parametrisation – @Parameters & @Optional

testngAugust 14, 2021

TestNG provides a way to get the data from external sources like from excel/textfile/arrays which helps to prepare data driven…

Read more

Pass excel data to testNG dataProvider and run selenium tests

SeleniumTesting, testngAugust 9, 2021

In our previous post, you have seen how to use testNG dataProvider to run selenium tests multiple times, mostly we…

Read more

Use testNG dataProvider into selenium tests | login

SeleniumTesting, testngAugust 1, 2021

In one of our previous post we have seen what is dataProvider and how to write the syntax and also…

Read more

Cypress contains() method to locate elements

CypressJuly 27, 2021

Cypress contains() is used to identify the one or more browser element[s] based on the text. Example – In Cypress,…

Read more

Understanding cypress get() & get() vs find()

CypressJune 9, 2021

Cypress exposes get() method to identify the browser elements based on the matched selector criteria. Selector is basically the CSS…

Read more

CSS Selector – Cypress locator strategy

CypressMay 26, 2021

Cypress uses CSS Selector to identify browser elements. If you are coming from Selenium or Protractor background, then you must…

Read more

Quick setup guide to run cypress tests in typescript

CypressMay 22, 2021

Cypress is an automation tool to automate browser actions and API calls using Javascript & Typescript. Cypress benefits – let’s…

Read more

How to run selenium tests in Firefox browser

SeleniumTestingMay 20, 2021

We have seen how to run selenium tests on chrome and Safari browsers, along with these browsers Firefox browser is…

Read more

Configure Safari browser to run selenium tests

SeleniumTestingMay 18, 2021

We have already seen many posts on how to run selenium tests in chrome browser by downloading the chromedriver and…

Read more

How to resolve – ModuleNotFoundError: No module named ‘src’

Python, SeleniumPythonMarch 26, 2021

In this post we will discuss how to resolve the error as ModuleNotFoundError: No module named ‘src’, when you read…

Read more

python openpyxl library – write data or tuple to excel sheet

SeleniumPythonMarch 17, 2021

In our previous post, we have seen how to read excel sheet details like single cell data, multiple rows, sheet…

Read more

python openpyxl library – Read excel details or multiple rows as tuple

SeleniumPythonMarch 16, 2021

openpyxl is one of the python specific library to handle excel operations like read & write content. In this post,…

Read more

How to create your own WebDriverWait conditions

SeleniumPythonMarch 11, 2021

In our previous post, we have discussed how to use explicit wait in selenium with python, python library provides many…

Read more

Selenium implicit & explicit wait in python – synchronisation

SeleniumPythonFebruary 21, 2021

Sometimes applications take some time to manipulate data or delay getting the response from server [because of slow internet connection…

Read more

ActionChains – element interactions & key press using Selenium python

Python, SeleniumPythonFebruary 4, 2021

ActionChains in selenium python provides various ways to automate user interactions on the browser elements like click, mouse move to…

Read more

Execute javascript using selenium webdriver in python

Python, SeleniumPythonJanuary 30, 2021

As we all know selenium python library provides different methods to perform browser operations like click, sendkeys, gettext etc… But…

Read more

Appium error [resolved] – Unable to launch WebDriverAgent because of xcodebuild failure: not found: carthage

AppiumJanuary 29, 2021

What’s the error – Most of times, if you have setup ios for appium tests, you might get error “Unable…

Read more

Automate / handle web table using selenium python

Python, SeleniumPythonJanuary 26, 2021

Web table on browser application contains rows & columns with data on each cell. Each cell can have text /…

Read more

Ways to automate drag & drop in selenium python

Python, SeleniumPythonJanuary 24, 2021

There are several web applications that provides services for drag an element and drop on certain element on browser. Some…

Read more

Pytest options – how to skip or run specific tests

Python, SeleniumPythonJanuary 21, 2021

In this post, we will see how to use pytest options or parameters to run or skip specific tests. Pytest…

Read more

Why you should consider virtual environment for python projects & how

Python, SeleniumPythonJanuary 21, 2021

Virtual environment is a specific folder inside our project directory, used to install all the project specific packages & versions…

Read more

How to create & use requirements.txt for python projects

Python, SeleniumPythonJanuary 18, 2021

What is requirements.txt & it’s advantage When a person is working on a python project and added some python libraries…

Read more

Getting started with pytest to write selenium tests using python

Python, SeleniumTestingJanuary 15, 2021

In our previous few blog posts, we have learned how to write selenium tests using python, we will extend our…

Read more

Get Jenkins email notification & send attachments

JenkinsCIJanuary 7, 2021

In this post, we will look into the jenkins configuration to send email notifications & sending attachments to the email…

Read more

XPATH / CSS Multiple expressions – and | or

SeleniumTestingDecember 28, 2020

We have learned to how to identify element[s] by using xpath & css locator strategies, this post will explain the…

Read more

XPATH / CSS – contains | starts-with | ends-with attributes

SeleniumTestingDecember 24, 2020

With increasing dynamic elements on browser applications, basic xpath / css syntaxes sometimes not proper to use, for example –…

Read more

Run selenium test using excel sheet as test data source

SeleniumTestingDecember 17, 2020

In one of our previous post, we have seen how to read write excel sheet using java POI. Now we…

Read more

Customise testNG output with IReporter listener

testngOctober 7, 2020

In our previous post , we have seen list of testNG listeners and also we have seen how we can…

Read more

Selenium 4 – emulate network conditions & intercept network resources

SeleniumTestingSeptember 29, 2020

In one of our blog, we have discussed selenium 4 new features like emulating network conditions & intercept network resources.…

Read more

Selenium 4 – emulate geoLocation & timeZone

SeleniumTestingSeptember 21, 2020

Selenium 4 supports to automate the chrome dev tools features, in which we have as option to emulate geoLocation &…

Read more

Demo sites to practice API automation testing

APISeptember 20, 2020

Along with the e2e testing, now a days it’s important to perform API automation testing and also integration testing, and…

Read more

Selenium 4 – getRect() for element size & position

SeleniumTestingSeptember 10, 2020

With Selenium 4, the getRect() introduced to fetch the element position with respect to top left corner of element and…

Read more

Selenium 4 – RelativeLocators

SeleniumTestingSeptember 8, 2020

In our previous post, we have seen the features / enhancements to selenium 4, among them Relative locators is one. Relative…

Read more

Selenium 4 – supports browser element[s] or full page screenshot

SeleniumTestingSeptember 4, 2020

In our previous post, we have seen the features / enhancements to selenium 4. Selenium 4 provides taking Screenshot for…

Read more

Selenium 4 – minimize window, handling new tab / new window

SeleniumTestingSeptember 1, 2020

In our previous post, we have seen the features / enhancements to selenium 4, among them one of the feature…

Read more

What’s new in Selenium 4

SeleniumTestingAugust 26, 2020

In this year 2020, Selenium community is bringing lots of new features / enhancements to the users. In this post,…

Read more

How to install & verify Node.js / npm command [Windows / Mac OS]

Protractor, TypeScriptAugust 23, 2020

What is node.js Node.js is a very powerful JavaScript-based framework built on JavaScript. It is used to develop I/O intensive…

Read more

How to setup environmental variables or PATH in Windows & Mac OS

JavaForQA, WindowsOSJuly 28, 2020

To get direct access to software exes or runner files on the command prompt or terminal, we set environmental variables…

Read more

RemoteDebugging – simulate mobile chrome browser on Desktop browser

AppiumJuly 8, 2020

There are situations where the web applications do not render same on Mobile or tab devices compared to desktop browser,…

Read more

Using async / await to resolve protractor promises

ProtractorJune 22, 2020

Protractor by default uses WebDriver JS control flow to resolve promises and helps in synchronising the execution of scripts in…

Read more

Git commands cheatsheet

gitJanuary 6, 2020

GitHub is one of the popular code repository and also used as version control tool, git provides various commands to…

Read more

Appium Desired Capabilities to run tests on both Android & iOS

AppiumSeptember 6, 2019

Appium Desired Capabilities are keys and values pair, helps Appium driver to run Appium tests on specific device [android or…

Read more

Proper way to install jenkins in macOS

JenkinsCI, MacOSMay 27, 2019

In this post, we will see how we can effectively install and setup jenkins on MacOS, we will use brew…

Read more

Setup Android & iOS simulator & installing apps

AppiumMay 23, 2019

https://youtu.be/0TbQ_kriugc Android Simulator Steps – Install Android studio – https://developer.android.com/studio Download components Android Studio > Tools > SDK Manager >…

Read more

Capture or record iOS simulator screen from terminal

Appium, MacOS, MobileApril 15, 2019

We will see how to take screenshot of iOS simulator screen using Xcode command-line utility Note : Install xcode from…

Read more

API for beginners [Structure, examples, benefits]

APIApril 13, 2019

In one of our post, we have come to know what is API and how it’s different than web services…

Read more

Capture screenshot of an alert with selenium and robot class

SeleniumTestingMarch 6, 2019

In one of our post, we have seen how to take a screenshot of a browser screen, but unfortunately this…

Read more

Different ways to fetch the map values in java

JavaForQAFebruary 1, 2019

In this post, we will see how to declare and use map, and also fetch the data from map. Data…

Read more

What is an API and how it is different than webservices

APIDecember 17, 2018

API stands for Application Programming Interface An API provides a set of functionality, it could be a function or a method…

Read more

Java logs to console or file – log4j2 or logback with slf4j

JavaForQADecember 4, 2018

In this post, we will look into the Logback library and how we can utilise to log messages to console…

Read more

Git plugin for Eclipse – push pull through UI

gitNovember 24, 2018

In our one of the post, we have seen how to push and pull projects using git commands, sometimes it’s…

Read more

Usage & benefits of “super” keyword in Java

JavaForQAOctober 25, 2018

super keyword super keyword is used to call parent class methods, variables in child class for ease of use, also…

Read more

Debug selenium java tests in eclipse

JavaForQA, SeleniumTestingOctober 11, 2018

There are situation when you don’t get exact result after running your test or getting some unknown error or exception…

Read more

Selenium html reporting – Extent with testNG Listeners – Part 2

SeleniumTestingOctober 1, 2018

In this post, we will see how we can integrate extent report with testng listeners, in our previous post we…

Read more

Selenium html reporting – Extent with testNG – Part1

SeleniumTestingSeptember 29, 2018

Extent report is one of the flexible API so far, and they have community version as well, so with free…

Read more

Handle multiple windows [new window/tab] in protractor

ProtractorSeptember 20, 2018

In one of earlier post, we have how to handle multiple windows or popups in selenium, this post will explain…

Read more

Handle browser notifications in selenium [know your location]

SeleniumTestingSeptember 8, 2018

Browser applications push notifications to user to know their location or push notification when user opens the application on browser.…

Read more

How to enable & use fingerprint in android simulators

Appium, MobileSeptember 6, 2018

There are situations you need to enable and use fingerprint security feature, but let’s say you are using android simulators,…

Read more

Upload file using protractor typescript

ProtractorSeptember 4, 2018

In this post, we will see how to automate uploading a file using protractor typescript, Uploading file basically need the…

Read more

Loop a List in Java using iterator or for loop

JavaForQAAugust 31, 2018

In this post, we will see different ways to loop List in java like using iterator and for loop. Using…

Read more

Select an option from picker wheel using appium

AppiumAugust 24, 2018

In IOS,  we have UIPickerWheel element which will have options to select, we will see how we can automate the…

Read more

Run selenium test using testng & maven in eclipse

MavenBuild, SeleniumTesting, testngAugust 23, 2018

In this post, we will see how to create a maven project in eclipse and run selenium java tests using…

Read more

pom.xml & dependencies for selenium or appium

Appium, MavenBuild, SeleniumTestingAugust 23, 2018

If you are using maven project to run selenium or appium tests, find below pom.xml dependencies, you can just change…

Read more

Protractor e2e testing for non angular sites

ProtractorAugust 20, 2018

So far we have seen how to write protractor scripts for angular application / site, in this post we will…

Read more

Combine TestNGListener with log4j for selenium result reporting

SeleniumTesting, testngAugust 17, 2018

This post will explain the integration of any java logger (let’s say Log4j) with ITestListener to customise result output and…

Read more

TestNG Listener – customise output with ITestListener

testngAugust 15, 2018

TestNG provides many listeners (as interfaces) which you can customise to your need to get output more readable. Here are…

Read more

Run Appium test using Java in both iOS & Android (updated)

AppiumAugust 6, 2018

In this post, we will discuss how to setup android & ios simulators, write and run appium java tests using…

Read more

Use JSON & Typescript file as test data source for protractor

ProtractorJuly 30, 2018

Every moment an automation engineer think to make the framework more flexible, using an external source file as test data…

Read more

Implement page object model in protractor typescript

ProtractorJuly 26, 2018

So far we have seen how to identify a webelement and perform actions on different webelements using protractor. In this…

Read more

Handle WebElement using Protractor – Part3 – table or ng-repeater

ProtractorJuly 24, 2018

In this post, we will come to know – How to identify tables or ng-repeater elements. Identify rows and columns…

Read more

Handle WebElement using Protractor – Part2 – dropdown and alerts

ProtractorJuly 23, 2018

In this post, we will come to know – How to identify dropdown elements and different ways to select an…

Read more

Handle WebElement using Protractor – Part1 – textbox button and alerts

ProtractorJuly 23, 2018

In this post, we will come to know – Enter text into a textbox Clicking on a button Handle alerts,…

Read more

Protractor Logging – console output – print to log file

ProtractorJuly 20, 2018

Protractor Console output As protractor is built on top of webdriver JS, we should resolve promise while printing to console…

Read more

Git push pull commands – local repository to github

gitJuly 6, 2018

Push Local repository to Github / cloud Pull Remote respository / github to Local repository We will see details of…

Read more

Java OOPS – Part 4 – Polymorphism – method overriding & overloading

JavaForQAJuly 4, 2018

Polymorphism – Polymorphism means – one in many forms Creating multiple methods / functions with the same name but performing…

Read more

Java OOPS – Part 3 – Data abstraction with examples

JavaForQAJuly 2, 2018

Abstraction is method of hiding the implementation details and showing only the functionality, basicallyProvides guidelines to build a standard product.…

Read more

Java OOPS – Part 2 – types of Inheritance with examples

JavaForQAJune 26, 2018

Inheritance Inheritance is a mechanism wherein a new class (child class) is derived from an existing class (parent class), child classes…

Read more

Java OOPS – Part 1 – Intro to OOPs class object constructor member variables

JavaForQAJune 22, 2018

Object Oriented Programming – It is a methodology to design a Program and also provides below below concepts to simplify the…

Read more

Java String – String methods with examples

JavaForQAJune 18, 2018

Java String String is sequence of characters. String is a Java class and is under package – Java.lang.String    String…

Read more

All about Java conditions & loops

JavaForQAJune 9, 2018

Java conditions – code will be executed based on a condition true or false (if else) Java loops – Code…

Read more

All about Java operators

JavaForQAJune 8, 2018

With the help of Java operators, we can perform mathematical or logical operations on different data types. Types Explanation –…

Read more

Java DataTypes – primitive & non primitive

JavaForQAJune 1, 2018

DataType defines a particular kind of data or value it can take Primitive DataType:  Primitive means “very basic”. In Java,…

Read more

Introduction to Eclipse – java editor

JavaForQAMay 29, 2018

Eclipse intro Free to use Widely used editor for java Auto completion and syntax highlighting Easy integration with other tools…

Read more

Java for QA – Java Introduction

JavaForQAMay 28, 2018

Java Introduction – First released by Sun Microsystems in 1995 Now owned by Oracle Corp. (From 2010 onwards) Java is…

Read more

Launch android emulator (avd) using terminal with out android studio

AppiumMay 10, 2018

In this post, we will see how to open android virtual device or avd with out opening android studio editor.…

Read more

Setup appium on Mac OS and inspect iPhone apps

Appium, MacOSApril 30, 2018

In this post, we will see how we can setup appium on MacOS to inspect iPhone or iOS apps, In…

Read more

Visual studio setup to run appium tests in c#

SeleniumC#March 29, 2018

In this post, you will see steps to download and setup visual studio, appium components to run appium tests using…

Read more

Appium desktop 1.x – appium inspector and server gui

AppiumMarch 22, 2018

As you all aware that, appium is used for automating mobile applications [be it for android or iOS] and we…

Read more

Python – print fibonacci series

PythonFebruary 27, 2018

In this post, we will see how we can print fibonacci series of numbers in python Logic First two numbers…

Read more

Python – Check if a number is prime

PythonFebruary 26, 2018

In this post, we will see how we can check if a number is prime or not Logic A number…

Read more

Python – Factorial of a number

PythonFebruary 26, 2018

In this post, we will see how we can find factorial of a given number using python Logic Factorial of…

Read more

Handle dropdown in selenium using python

Python, SeleniumTestingFebruary 22, 2018

In this post, we will see how to handle drop down webelement in Selenium and python, select an option from…

Read more

Sublime text 3.x – Download setup customize to run python

Python, SeleniumTestingFebruary 8, 2018

Sublime text 3.x is one of the light weight multi platform python editor,one good thing about this editor is that…

Read more

How to configure & run python on PyCharm

PythonFebruary 2, 2018

In our prev post, we have seen how to setup python on windows machine. There are several editors available including…

Read more

Know how to write Selenium test using Python

Python, SeleniumTestingJanuary 30, 2018

Selenium supports many languages, in which python is one. We have discussed how we can write and run selenium tests…

Read more

Handle android push notification using appium

Appium, SeleniumTestingJanuary 16, 2018

Push notification is a message pop up to any mobile device and can be sent from any app that is…

Read more

Popular IDEs to run Python script

PythonJanuary 9, 2018

Prerequisite You should have python installed on your machine, If not, then follow Python download and setup IDEs [Integrated development environment]…

Read more

Download and setup Python on Win or Mac machine

PythonJanuary 5, 2018

Download Download latest version of python from python.org/downloads/ Install Using the default location or any other folder path Note: For windows,…

Read more

Sample demo web sites to practice automation testing

Protractor, SeleniumTesting, SoftwareTestingDecember 12, 2017

In this post, we will see top demo websites to practice automation testing using tools like Selenium, protractor, UFT [formerly…

Read more

Run protractor test in IE [Internet Explorer]

ProtractorNovember 28, 2017

In our prev posts we have seen Run protractor on chrome Run protractor on firefox Now we will be how…

Read more

Read/Write excel sheet using ExcelJS

Protractor, TypeScriptNovember 25, 2017

In this post we will understand how we can read/write excel sheet and styles using ExcelJS [javaScript/TypeScript]. We are using…

Read more

Introducing FirefoxOptions for selenium 3.x

SeleniumTestingNovember 24, 2017

From selenium 3.0 beta 4, selenium introduced class FirefoxOptions to Manage firefox specific settings in a way gecko driver can understand. Let’s see…

Read more

Selenium compatibility chart – browsers and drivers

SeleniumTestingNovember 16, 2017

This below chart will let you know which version of selenium is compatible with which version of browsers / drivers.…

Read more

Run protractor test on firefox browser – webstorm ide

ProtractorNovember 9, 2017

In one of our post Protractor test on chrome browser, we have seen how to run protractor tests in chrome…

Read more

Convert part of string into char array in java – getchars(int, int, char[], int)

JavaForQANovember 7, 2017

myStr.getChars(srcBeginIndex, srcEndIndex, dstCharArray, dstBeginIndex) is a java method which helps to get a part of the string into character array,…

Read more

ngWebDriver – a way to automate angular apps in selenium using java

SeleniumTestingOctober 30, 2017

  Problem – In one of my earlier post Selenium java for angularJS apps, we have seen how we can…

Read more

str.indexof(char) – index of char with in string using java

JavaForQAOctober 30, 2017

We have seen how to get a particular character from a string by providing the index, the same manner if…

Read more

String to char in java- str.charat(index)

JavaForQAOctober 30, 2017

If you want to display or get any one character from a string, java provides a method .charAt(index) [this returns…

Read more

String to char array in java- str.tochararray()

JavaForQAOctober 30, 2017

If you want to convert a string into character array, java provides a method .toCharArray() [this returns a character array],…

Read more

Change Maven default local repository location

MavenBuildJuly 18, 2017

Maven by default downloads jar files / dependency libraries under userFolder/.m2 folder but in case you need to change the…

Read more

Selenium with chrome – chrome is being controlled by automated software

SeleniumTestingJune 19, 2017

With chromedriver.exe with version 2.28 on wards, when tried to invoke chrome browser using selenium, getting below notification as “Chrome…

Read more

Chrome error in selenium – Microsoft wants to reset your settings

SeleniumTestingJune 19, 2017

There are situations when you invoke chrome browser using selenium, you will observe your AUT URL opens in 2nd tab…

Read more

Run protractor tests in typescript using VSCode

ProtractorJune 16, 2017

In our previous post, we have seen how to install protractor and it’s prerequisites. we will setup some more steps…

Read more

Protractor setup with jasmine & typescript in VScode

Protractor, TypeScriptJune 14, 2017

Refer protractor intro to get some insights, if you are new to protractor. We will use typescript as our language…

Read more

Protractor – to automate angularJS apps & it’s benefits

ProtractorJune 14, 2017

These days, most of the web development uses angularJS library for it’s light weight and ease of use. protractor become…

Read more

Configure and run typescript in visual studio code [updated]

Protractor, TypeScriptMay 31, 2017

In this post, we will be executing a typescript file in VS Code Prerequisites Nodejs & npm Refer Install &…

Read more

Execute xpath or css on firefox browser

css, SeleniumTesting, xpathMay 24, 2017

Selenium provides Xpath & css as element locators on browser, browsers provide an option to execute xpath and css to identify elements,…

Read more

Connect android device to pc over wifi using ADB cmd

ADBcommands, AppiumMay 17, 2017

Sometimes if your mobile usb cable doesn’t work and you want to automate android devices using appium, then you can…

Read more

Disable save password prompt using selenium in chrome browser

SeleniumTestingApril 28, 2017

In chrome browser, when logged into any site with credentials, save password dialog pops up near to address bar, This…

Read more

Data type conversion in java

JavaForQAApril 12, 2017

Above screenshot gives you size of each data type in java, which will give us an idea of compatibility of…

Read more

Why not WebDriver driver = new WebDriver()

SeleniumTestingApril 5, 2017

In our selenium automation scripts, we use WebDriver driver = new FirefoxDriver(); or WebDriver driver = new ChromeDriver(); & so…

Read more

Jenkins Installation – quick demo

JenkinsCI, SeleniumTestingMarch 30, 2017

Follow below steps one by one to setup Jenkins on your windows machine If you are on Mac OS, then…

Read more

Break and continue statement in java

JavaForQAMarch 23, 2017

break and continue are java keywords to skip control flow statements depending on certain condition. break and continue have 2…

Read more

Download – Official site links

SeleniumTesting, Web linksMarch 13, 2017

Eclipse IDE  http://www.eclipse.org/downloads/ JDK http://www.oracle.com/technetwork/java/javase/downloads/index.html Selenium latest Jar files http://selenium-release.storage.googleapis.com/index.html Selenium official wiki page https://github.com/SeleniumHQ/selenium/wiki Chrome Driver (chromedriver.exe) Latest version…

Read more

Open a link or url in new tab using selenium

SeleniumTestingMarch 6, 2017

There are several situations you might need to open a new tab and load any application to perform certain task…

Read more

Execute xpath or css on Chrome browser

css, SeleniumTesting, xpathMarch 2, 2017

In this post, we will be seeing how we can run xpath or css queries on chrome browser Steps :…

Read more

Print prime numbers in java

JavaForQAFebruary 21, 2017

A prime number which can not be divided by any other number except 1 or by itself. The only even…

Read more

Difference between WebDriver and FirefoxDriver

SeleniumTestingFebruary 15, 2017

  WebDriver is an interface FirefoxDriver is a class, which inherit RemoteWebDriver class that implements WebDriver interface.  

Read more

Easy ways to check Armstrong number in java

JavaForQAFebruary 14, 2017

An Armstrong number is an n-digit number that is equal to the sum of the nth powers of its digits.…

Read more

Print fibonacci series numbers in java

JavaForQAFebruary 2, 2017

Fibonacci series numbers – A particular sequence of integers logic – First two numbers are 0 and 1, then next…

Read more

Appium philosophy and it’s architecture

AppiumJanuary 13, 2017

Appium is an open-source tool for automating native, mobile web, and hybrid applications on various mobile platforms like iOS and AndroidOS…

Read more

How to end or kill multiple processes in task manager

WindowsOSJanuary 12, 2017

There are situations where we have more than one instance of processes running, but by using windows task manager we…

Read more

Check if element is clickable using selenium

SeleniumTestingDecember 8, 2016

Elements like Buttons, textBoxes, Images and Links etc… are clickable, and should be present on screen & enabled to click.…

Read more

“this” keyword in java with examples

JavaForQADecember 2, 2016

We will see the usage of “this” keyword one by one with examples – “this” keyword refers to current class…

Read more

Print 1 to 10 without using loop in java

JavaForQANovember 17, 2016

“Print 1 to 10 with out using loop” in java is quite a frequently asked interview question for automation testing.…

Read more

ADB commands helpful for android automation

ADBcommands, AppiumOctober 21, 2016

ADB (Android Debug Bridge) is a command line tool that let’s us communicate with an emulator or real device. How…

Read more

Selenium HTML result reporting using ExtentReports 3.X

ExtentReports, SeleniumTestingOctober 18, 2016

In our earlier post (Selenium reporting using extent 2.x), we have seen as a starting point how to generate report…

Read more

Tap on screen using appium

AppiumOctober 12, 2016

Tapping on any WebElement on screen is same as clicking on the object, (just, tap word is a mobile term),…

Read more

How to switch ON/OFF settings using appium

AppiumOctober 3, 2016

There are situations where we need to toggle any settings to ON/OFF, e.g –  switch ON/OFF wifi. We can automate…

Read more

Sorting array using Java

JavaForQASeptember 13, 2016

For sorting in the order of ascending or descending, we have one of the most popular sorting technique is bubble…

Read more

Run selenium tests using maven – Maven in eclipse part3

MavenBuild, SeleniumTestingSeptember 12, 2016

In our earlier posts Maven in eclipse – part1 and Maven in eclipse – part2, we have seen how to…

Read more

Palindrome in java

JavaForQASeptember 7, 2016

A word, phrase, number or sequence that reads the same backwards as forwards String = reverse of a String e.g…

Read more

Create a maven project & pom.xml in eclipse or intelliJ IDE

Eclipse, MavenBuildAugust 17, 2016

In our previous article, we have seen how to setup java & maven in both windows & mac os. In…

Read more

Setup Maven & Java for Selenium [Windows & Mac OS]

Eclipse, MavenBuildAugust 12, 2016

If you are using Selenium library for Java language binding to write automation tests, then we need to setup Java…

Read more

Redirect or capture eclipse console output to text file

EclipseAugust 5, 2016

  There are situations where we need to capture or redirect the eclipse console to a text file, so later…

Read more

What’s new in selenium 3.0

SeleniumTestingAugust 3, 2016

Selenium released 2 beta versions of selenium 3.0 (beta 1 & 2 till 3rd Aug, 2016) with few of the…

Read more

Integrate Sikuli with Selenium WebDriver – Part2

SeleniumTesting, SikuliJuly 25, 2016

As we have seen on our prev post Sikuli intro, how to download and automate desktop application, in this post…

Read more

Automate GUI testing using Sikuli – Part1

SikuliJuly 22, 2016

What is Sikuli – As per the sikuli official site, “Sikuli automates anything you see on screen, it uses image…

Read more

Start & stop appium server programmatically using java-client (latest)

AppiumJuly 21, 2016

We have learnt from our earlier post Appium test run,  how to write appium test, now to run the appium…

Read more

Automate swipe using appium – use of TouchAction

AppiumJuly 15, 2016

Swipe on mobile handsets can be of from Left to right or vice versa Top to bottom or vice versa…

Read more

Download files in firefox browser using selenium WebDriver

SeleniumTestingJuly 13, 2016

There are situations where we need to Download files from browser, Save in a specified folder on hard disk. We will use browser…

Read more

what is build and release in software testing

SoftwareTestingJuly 11, 2016

A build is a piece of software or Product which consists of a set of features and a few bug fixes, Build…

Read more

How to move (drag) seek bar in appium

AppiumJuly 8, 2016

A seek bar in any android handset or emulator is kind of a progress bar but this one is draggable,…

Read more

Perform LongPress gesture in Appium (latest)

AppiumJuly 4, 2016

There are situations, where we have to long press on key buttons of screen to trigger an event, to hold the…

Read more

Handle mobile application or browser alerts with appium

AppiumJune 28, 2016

We have seen how to handle alerts for desktop browsers using selenium, the same way we have alerts for mobile…

Read more

Install android apps on emulators

AppiumJune 22, 2016

Method 1: Using Google play store (but you need to have google account and google play store should be pre installed)…

Read more

Offline installer – Chrome browser

Offline InstallerJune 22, 2016

To download chrome browser for offline installation, refer below link https://www.google.com/chrome/browser/desktop/index.html

Read more

Handle search suggestions using selenium

SeleniumTestingJune 21, 2016

There are certain types of textbox designed for browser apps which provides suggestions based on the string typed, The suggestions may…

Read more

Navigate back or home screen using Appium

AppiumJune 17, 2016

Class AndroidDriver (implements AppiumDriver interface)  has method pressKeyCode(int key) for your handset / emulator to navigate to Home screen or navigating…

Read more

Lock or unlock device using appium

AppiumJune 15, 2016

Class AndroidDriver (implements AppiumDriver interface)  has certain methods for locking and unlocking an android device / emulator at run time. (should…

Read more

Run appium tests on android mobile browser using java

Appium, SeleniumTestingJune 10, 2016

We have seen how to run appium tests on android native apps In this post, we will be learning how…

Read more

Ways to focus on textbox in selenium

JavascriptExecutor, SeleniumTestingJune 10, 2016

In our one of previous post selenium on textbox, we have seen how to type or send text into textboxes…

Read more

Execute appium test on android native app in java

Appium, SeleniumTestingMay 26, 2016

If you are new to appium, please refer below links for the prerequisites Eclipse IDE setup Appium setup for windows [Mandatory…

Read more

Ways to handle file uploads in selenium

SeleniumTestingMay 20, 2016

There are situations where we need to automate tasks such as Click on Browse (file explorer pops up) Select required…

Read more

Error opening eclipse.exe for 1st time

JavaForQA, SeleniumTestingMay 20, 2016

For download and installation of eclipse, please eclipse setup For the 1st time, while opening the eclipse.exe, you may get…

Read more

Android emulator : genymotion setup for automation testing

AppiumMay 17, 2016

Genymotion is an android emulator where we can install mobile apps under test and run our appium automation tests. Sometimes…

Read more

Efficiently fetch appium capabilities appPackage, appActivity and bundleId

Appium, SeleniumTestingMay 17, 2016

Mobile device has many applications, so we should let appium know on which application automated tests should run. For this…

Read more

Link to download pre configured VMs

Web linksMay 16, 2016

Link to download different combination of OS and type of VMs : https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/windows/  

Read more

Appium locator strategy : identify app elements [latest]

AppiumMay 13, 2016

Like selenium WebDriver locators, we have locator strategies for AndroidDriver (for android) & IOSDriver (for iOS), both extending the AppiumDriver…

Read more

Appium locators tool : UIAutomatorViewer

Appium, SeleniumTestingMay 12, 2016

In this article, we will understand how to locate WebElements on mobile devices, for this we will be using UIAutomatorViewer tool.Before…

Read more

Setup android and launch simulator for Appium (latest)

Appium, SeleniumTestingMay 11, 2016

In this post, we will see step by step guide to create and setup Android Virtual Device, an Android emulator…

Read more

Guide to configure Appium, Android & IOS simulators (updated)

AppiumMay 11, 2016

In this article, we will see basic setup of Appium, where we can run appium tests on mobile handset or tablet…

Read more

Different ways to run testng.xml file

SeleniumTesting, testngMay 6, 2016

Basics of testng.xml is covered in last post, now let’s see different ways to run testng.xml Using code editor pane…

Read more

PageFactory in selenium

Misc, SeleniumTestingMay 4, 2016

PageFactory is an extended support to POM (PageObjectModel), used to locate webelement in adifferent manner than mentioned here. Before we…

Read more

Guide on PageObjectModel and PageFactory in selenium

SeleniumTestingMay 4, 2016

With time, increasing in the functionality of software products, test automation script also increases, so we tend to develop robust frameworks…

Read more

Small video that depicts API basic

API, MiscMay 2, 2016

watch this video to understand, basics of what exactly an API (Application programming Interface)  

Read more

Read / write excel data based on column header using java poi [updated]

SeleniumTestingApril 6, 2016

In our previous post, we have seen basic excel read & write operation in In this post, we will discuss…

Read more

Internet Explorer IE11 – F12 (debugging) not working

SeleniumTestingMarch 9, 2016

There is a situation where, you installed IE11 freshly and try to open the debugging window by clicking F12, but…

Read more

Download files in Chrome browser using selenium WebDriver

SeleniumTestingMarch 4, 2016

There are situations where we need to Download files from browser, Save in a specified folder on hard disk. We…

Read more

Execute JavaScript in selenium to perform operations on HTML elements

JavascriptExecutor, SeleniumTestingSeptember 22, 2015

Now we know how to identify html elements using only selenium or execute javascript in selenium, Now let’s see how…

Read more

Run JavaScript locators using Selenium & Java

JavascriptExecutor, SeleniumTestingSeptember 14, 2015

We have seen how to identify web elements using selenium locators…there are situations where selenium alone can’t able to identify…

Read more

Scroll on a page or list view in selenium using javaScript

JavascriptExecutor, SeleniumTestingSeptember 12, 2015

There are some situations in which we want to scroll to a particular element or scroll up or down across…

Read more

All about JavaScriptExecutor in Selenium

JavascriptExecutor, SeleniumTestingSeptember 11, 2015

As per the selenium official link on Selenium RC, core selenium is basically a javascript program (set of functions) which…

Read more

ways to drag n drop elements using selenium

SeleniumTestingSeptember 4, 2015

There are several web applications that provides services for drag an element and drop on certain element on browser. Some…

Read more

JSON Intro – syntax – datatypes

jsonSeptember 2, 2015

  JavaScript Object Notation   Used as a lightweight data sharing format in between server and web application, and also…

Read more

which one to use? driver.close() / .quit()

SeleniumTestingAugust 26, 2015

There are different ways to close browser[s] using selenium after tests are run. Depending on scenarios, if single or multiple…

Read more

Agile development : manifesto

Agile, SoftwareTestingAugust 25, 2015

A group of developers together made a decission depending on their individual views and created the methodology called Agile. In…

Read more

Selenium v2.47.0 – features added

SeleniumTestingAugust 19, 2015

Selenium framework leaunched it’s updated version 2.47.0 Download link: http://www.seleniumhq.org/download/ and here is below some of the main features of…

Read more

Selenium with Autoit (no installation) for win UIs

Autoit, SeleniumTestingAugust 14, 2015

As most of us know, Autoit is a tool to automate basic navigations for non browser / windows applications. There…

Read more

Selenium HTML result reporting using ExtentReports 2.X

ExtentReports, SeleniumTestingJuly 31, 2015

While working with Selenium automation testing, we use different 3rd party frameworks (TestNG, Junit, MBunit, Nunit) in combination with Java…

Read more

Connect to DataBase in Java and Selenium Implementation

SeleniumTestingJuly 28, 2015

For initial understanding on database and SQL queries, refer MySQL Basics To automate database testing, we will use selenium with…

Read more

DataBase testing

Database, SoftwareTestingJuly 28, 2015

Database testing: validate the front end data with the database. Let’s take an example of a e-commerce application, user booked…

Read more

Initial setup of MySQL database and it’s basic

Database, SoftwareTestingJuly 27, 2015

MySQL is considered to be most popular open source database, For more information regarding versions and features, please refer http://dev.mysql.com/…

Read more

Firefox profile and preferences in selenium

SeleniumTestingJuly 25, 2015

Firefox profile is basically the personal settings of the firefox browser. Firefox profile contains information like your homepage, bookmarks, browser…

Read more

Automate dropdown / combobox using Selenium Java

SeleniumTestingJuly 24, 2015

In this post, we will see how to handle / automate drop down webelement in Selenium and Java. Use cases…

Read more

selenium implicit + Explicit + fluent waits

SeleniumTestingJuly 23, 2015

Every browser application has it’s own delay in loading the elements when we open a web application / navigate from…

Read more

TestNG @Test attributes – threadPoolSize, invocationCount, timeOut

SeleniumTesting, testngJuly 21, 2015

InvocationCount OutPut: Thread ID: 1Thread ID: 1Thread ID: 1Thread ID: 1Thread ID: 1 Above method ran 5 times, a single…

Read more

TestNG @Test attributes – AlwaysRun

SeleniumTesting, testngJuly 20, 2015

alwaysRun is a testNG attribute which makes a test method run always even if it’s dependent method is not run……

Read more

TestNG @Test attributes – dependOnMethods

SeleniumTesting, testngJuly 20, 2015

There are situations when we want to run our tests depends on the prior test execution like if a particular…

Read more

TestNG @Test attributes – enabled property

SeleniumTesting, testngJuly 18, 2015

There are situations where we need to skip one or more @Test method in testNG, for this TestNG provides enabled…

Read more

TestNG @Test attributes – run by priority (-ve & +ve)

SeleniumTesting, testngJuly 17, 2015

As we know testNG test methods are executed in alphabetical order by default, but testNG provides priority keyword to prioritize…

Read more

TestNG @Test attributes – method description and grouping

SeleniumTesting, testngJuly 17, 2015

TestNG description In framework, with growing number of automated test cases, it’s hard to have the test method names more…

Read more

Handling multiple browser windows/popups using selenium

SeleniumTestingJuly 15, 2015

There are situations in which we get browser popups or multiple browser windows, when we open an URL or click…

Read more

testNG @Test attributes

SeleniumTesting, testngJuly 14, 2015

TestNG framework provides some more features with the @Test to customise execution of test methods To know basics about the…

Read more

Handling iframes in selenium

SeleniumTestingJuly 12, 2015

There are situations where web controls/elements reside inside an inline frame, the inline frame is another document or dom resides…

Read more

Handling RadioButtons in selenium

SeleniumTestingJuly 11, 2015

On a webpage, user can only selects one option from many of the limited group of options. In HTML we…

Read more

Get the css value of an web element using selenium

SeleniumTestingJuly 11, 2015

GUI testing is the basic validation we do mostly in browser applications… this may be the text font, text size,…

Read more

Take screenshots in failed scenarios

SeleniumTestingJuly 10, 2015

There are scenarios where our test case fails and we use mostly logs to see what actions performed and how…

Read more

Read/Write text file using selenium/java

SeleniumTestingJuly 10, 2015

There are certain scenarios where we need to read the content of a text file or write something to a…

Read more

Handling different types of alerts & user authentication in selenium

SeleniumTestingJuly 4, 2015

Alerts are basically popup box/window that takes the focus away from the current browser screen and forces you to read…

Read more

Handling web tables in selenium Java

SeleniumTestingJuly 3, 2015

A basic web table will have these below components:header, body and data / cells & footerHeader cells- th = Column…

Read more

Context menu / right click with selenium

SeleniumTestingJuly 2, 2015

There are certain scenarios where we want to perform operation on the right click menu options. let’s see the demo…

Read more

Manage browser windows [Resize and reposition] with selenium

SeleniumTestingJune 19, 2015

We can change the browser window position on desktop and resize the windows using selenium commands. These functionalities helps to…

Read more

Handle textBoxes in selenium

SeleniumTestingJune 18, 2015

TextBox is an element where we can enter/input alphanumeric text.To identify the textBoxes we need to look for the input…

Read more

Handling ListBoxes in selenium

SeleniumTestingJune 16, 2015

ListBox is an element where user can select/deselect one or more items from it. To identify the ListBox on webpage,…

Read more

Handling CheckBoxes in selenium

SeleniumTestingJune 16, 2015

Events for a checkbox can be check or uncheck, there can be one or more checkboxes (group wise) on a…

Read more

Handling button events in Selenium

SeleniumTestingJune 15, 2015

Button is one of the web element/control on web application,In a webpage, to identify if a web element is button…

Read more

Collections framework in Java

JavaForQAJune 13, 2015

Collection: Group of individual objects in one unit. It’s a root interface of collections framework, which defines most common methods…

Read more

testNg Assertions in Selenium – Hard & Soft assert

SeleniumTesting, testngJune 13, 2015

Assert is to compare the expected with actual. Assert is class exposed from org.testng.Assert; 2 types of Asserts – Soft…

Read more

Difference between Arrays and Collections

JavaForQAJune 10, 2015

Arrays Collections Can hold only homogeneous elements. All elements should of same data type, either all are int or String…

Read more

Desired Capabilities in selenium

SeleniumTestingJune 7, 2015

DesiredCapabilities describe a series of key/value pairs that encapsulate aspects of a browser,  Basically this is used to set certain…

Read more

Selenium exceptions | when it occurs & how to handle

SeleniumTestingJune 2, 2015

Exceptions are basically abnormal/unexpected conditions that may occur while running code/test.These exceptions may disrupt the execution, but we can handle…

Read more

Arrays in java

JavaForQAMay 31, 2015

What is Array Arrays are used to store homogenous elements/values (of same data type) Can access the elements by the…

Read more

Exit from nested for loops in java

JavaForQAMay 29, 2015

There are 2 nested for loops in your code and if we want to exit both the loops at a…

Read more

read and write key/value data using .properties file

JavaForQAMay 29, 2015

.properties is a file extension for files mainly used in Java to store the configurable parameters of an application. the parameters are in…

Read more

Fixing copy paste issue from current system to remote system/desktop

WindowsOSMay 27, 2015

There are situations where you have the options enabled [Below screenshot], still not able to copy paste files from your…

Read more

Selenium framework coding practices/standards

SeleniumTestingMay 21, 2015

We will be discussing some of the practices (may not be THE best practices) which makes code base easier in…

Read more

Selenium grid – Run tests across platforms/browsers

SeleniumTestingMay 20, 2015

Selenium Grid is used to run the selenium tests parallel across different platforms(Nodes) and browsers from one system (Hub)….  …

Read more

Xpath vs CSS Selector – key differences and patterns

css, SeleniumTesting, xpathMay 7, 2015

In one of our previous post selenium locator strategies, we have learned how to identify elements based on HTML tags…

Read more

Selenium XPATH types: Absolute and Relative

SeleniumTestingMay 6, 2015

xpath is xml path language, and selenium uses xpath as one of the locator strategies to locate web element[s] from…

Read more

TestNG Parametrisation – dataProvider

SeleniumTesting, testngApril 27, 2015

TestNG provides a way to get the data from external sources like from excel/textfile/arrays which helps to prepare data driven…

Read more

TestNG annotations

SeleniumTesting, testngApril 24, 2015

For the fundamentals of testNG framework and the testng.xml content, please refer to my prev blog post. selenium-testng (See all the…

Read more

Selenium testng.xml and emailable report in detail

SeleniumTesting, testngApril 23, 2015

To get started with testNG framework, refer testNG framework If we want to execute the testng class, we can do one by…

Read more

Selenium – All about testNG frameowrk

SeleniumTesting, testngApril 23, 2015

testNG is a unit testing framework for Java, helps to run our tests(methods) in a guided manner.  testNG stands for…

Read more

Difference between driver.get() and driver.navigate()

SeleniumTestingApril 21, 2015

driver.get(““) Will wait till the page loads completely with all controls in place. Used to get page source.              driver.getPageSource(); …

Read more

Selenium webDriver to test AngularJS applications

SeleniumTestingApril 21, 2015

AngularJS controls are becoming more popular these days due to it’s flexibility of use, less coding, allows single page applications…

Read more

Enhanced / advanced for loop in Java

JavaForQAApril 20, 2015

————————————————————————————————————————- Enhanced for loop is applicable only for arrays, Arrays can be of int or string type… let’s see the…

Read more

First selenium test using Maven & testNG in Java

SeleniumTestingApril 17, 2015

Let’s see how we can guide selenium to automate the user actions on a web application, As we come to…

Read more

Selenium: Excel Read and Write using java Apache POI library

SeleniumTestingMarch 30, 2015

We will see the use of apache POI open source library in java to read and write excel file. If…

Read more

Selenium: Excel Read and Write – using java jExcel(jxl)

SeleniumTestingMarch 30, 2015

According to http://jexcelapi.sourceforge.net/ – jexcel API is to read and write excel sheet data, Note: Excel should be of .xls format , if it…

Read more

set environment/system variables in windows OS

WindowsOSMarch 27, 2015

There are 2 ways to edit or set environmental or system variable on windows machines: Method 1 – In Windows…

Read more

Selenium result report + testNG + ANT build.xml

SeleniumTestingMarch 27, 2015

In this post, we will see how to convert testng report (index.html) to a more readable/emailable report by using ANT…

Read more

Run selenium tests across multiple browsers in parallel

SeleniumTestingMarch 24, 2015

Testing your web application across different browsers to make sure: Application performs similar manner for different browsers. Webelements should be…

Read more

Firefox addons to identify web elements for Selenium

SeleniumTestingMarch 23, 2015

To view the HTML content and spy on an webelement, there are different ways for different browsers, mostly people use…

Read more

Selenium locator strategies – how to identify browser elements

SeleniumTestingMarch 19, 2015

Selenium provides different type of locators to uniquely identify web elements on the browser. Any web application elements that render…

Read more

Eclipse setup for selenium – beginners

SeleniumTestingMarch 17, 2015

As mentioned in prevois post selenium webdriver setup, hope you downloaded the Eclipse IDE and all required jar files. NOTE: Place…

Read more

Basic setup / installation of Selenium Webdriver

SeleniumTestingMarch 16, 2015

Note: For the entire discussion of selenium topics on this blog, we will be using Java language. Basic setup of selenium webdriver…

Read more

Selenium IDE

SeleniumTestingMarch 16, 2015

For the setup of IDE and record/playback the user actions, you can get lot of resources in google. As selenium…

Read more

Selenium testing introduction for beginners

SeleniumTestingMarch 16, 2015

Selenium is an open source technology for automating browser-based applications across different browsers and platforms. Selenium mainly interacts with the…

Read more

Offline Installer – Skype for computer

Offline InstallerJanuary 7, 2015

For windows: offline installer http://www.skype.com/go/getskype-full For other platforms: https://www.skype.com/en/download-skype/skype-for-computer/

Read more

OfflineInstaller – Mozilla Firefox browser

Offline InstallerJanuary 7, 2015

Latest version : https://www.mozilla.org/en-US/firefox/all/ Earlier versions : https://ftp.mozilla.org/pub/firefox/releases/

Read more

Sticky Notes – How to backup/restore in windows OS

WindowsOSJanuary 6, 2015

In windows OS –For Backup Start -> Run and type %AppData%MicrosoftStickyNotes to open the “Sticky Notes” folder. Copy the StickyNotes.snt…

Read more

Download defects from QC to Excel using QC OTA

Quality Center and QC OTAMarch 4, 2014

Dim tdcSet tdc = CreateObject(“TDApiOle80.TDConnection”) Dim sUserName, sPasswordsUserName = “” ‘sPassword = “” ‘ Dim sDomain, sProjectsDomain = “”   ‘sProject…

Read more

Reverse a string without using string functions – VBScript

QTP_VBScriptingMarch 4, 2014

mystr = inputbox(“Enter the String:”) ‘Option 1 –  Set r=new regexp  r.pattern =”w|W” ‘ “[a-z 0-9 A-Z]” is equivalent to…

Read more

Arrays in VBScript

QTP_VBScriptingFebruary 18, 2014

An Array variable can have different data type values like int, char, string, Boolean etc An Array variable values can…

Read more

How to find your application window/childwindow using TestStach.White

TestStackWhiteFrameworkAugust 8, 2013

Try below code to find your application window/child windows by using TestStack.White framework – Lets take NotePad as our application…

Read more

Weblinks to know more about TestStack.White framework

TestStackWhiteFrameworkJuly 25, 2013

We have seen how we can automate desktop applications using testStackWhite feamework. Some more useful links you can follow A…

Read more

Open source UI Automation testing using White framework

TestStackWhiteFrameworkJuly 25, 2013

Most organizations encourage open source tools to implement automation testing of their products/softwares, and it indirectly encourages testers/programmers to expose…

Read more

Change the iPhone/iPod backup to another drive in windows OS

MobileDecember 17, 2012

1. Move the “Backup” folder from the “C:UsersAppDataRoamingApple ComputerMobileSync” location and place to an external drive, let’s say to “D:itunes”.…

Read more

ActiveX component can’t create object – TDApiOle80.TDConnection

Quality Center and QC OTAMay 2, 2012

Some times we get error as “Windows7 64 bit – ActiveX component can’t create object TDApiOle80.TDConnection” while running Quality Center…

Read more

can’t save the mapping name while exporting data from excel to quality canter(windows 7 OS)

Quality Center and QC OTAMarch 30, 2012

1. Ensure that User control accounts setting is disabled. in the Windows globe>search for program and files> type UAC click…

Read more

CTDServer error while exporting test cases from excel sheet to Quality Center

Quality Center and QC OTAMarch 30, 2012

A) You need to uninstall QC Excel add-in first from Add/Remove Programs(only if it is installed on your machine). B)…

Read more

Check and Stop sharing folders or a drive

WindowsOSMarch 8, 2012

————————————————————————————————————————- To stop sharing a folder by using the Windows interface 1) Open Computer Management, To do so, click Start,…

Read more

Difference between Integration and System testing

SoftwareTestingFebruary 7, 2012

System testing – 1) It is high level testing and always starts after Integration testing 2) For this testing, complete…

Read more

Solution – Folders displayed as shortcuts

WindowsOSFebruary 7, 2012

————————————————————————————————————————- Sometimes due to virus in system, folders appear as shortcut files and when we try open nothing gets open,…

Read more

Software LifeCycle

SoftwareTestingFebruary 6, 2012

Life Cycles of a software: SOFTWARE DEVELOPMENT LIFE CYCLE: CRS (Customer Requirement Specification) SRS (System Requirement Specification) Planning & Analysis…

Read more

Difference between Regression and Retesting

SoftwareTestingFebruary 6, 2012

REGRESSION TESTING -Regression testing is repeated testing of an already tested program in each release or each build after modifications…

Read more

Software Product – Possible stages to get mistakes & their cost of fixing

SoftwareTestingFebruary 6, 2012
Read more

Static and Dynamic testing

SoftwareTestingFebruary 6, 2012

Static testing: The Verification activities fall into the category of Static Testing. During static testing, you have a checklist to…

Read more

Software testing – V-Model in detail

SoftwareTestingDecember 15, 2011

Almost all organizations follow V-model due to its flexibility structure, it reduces the total duration of the project life cycle…

Read more

Bug tracking tool – for e.g – Bugzilla

SoftwareTestingNovember 23, 2011

Bugzilla is a very known bug tracking tool where testers normally raise or keep track of bugs in each release…

Read more

Difference between Smoke and Sanity testing

SoftwareTestingNovember 16, 2011

Smoke Testing: Normally we perform this to check the stability of the build to deploy in testing environment for further…

Read more

How to upgrade firmware from 2.2 to 2.3.4 gingerbread by using samsung kies

MobileSeptember 19, 2011

The official android 2.3.4 gingerbread is out for Samsung galaxy ace. This firmware upgrade includes OTA feature (update over the…

Read more

How to avoid scripts running recursively in QTP –

QTP_VBScriptingAugust 25, 2011

1) Check if any data present in Data Table? if yes, try clearing those values (delete or clear cells by…

Read more

New or change request status track for PAN card

Web linksMay 15, 2011

https://tin.tin.nsdl.com/tan/StatusTrack.html

Read more

Indian Railway details

Web linksMay 15, 2011

http://www.indianrail.gov.in/

Read more

INDIA, USA and UK railway station codes

Web linksMay 15, 2011

http://www.stationcodes.com/railway-station-codes.htm

Read more

ISD (International Subscriber Dialing) code search for all countries–

Web linksMay 15, 2011

http://www.bsnl.co.in/isdsearch.php

Read more

How to create a facebook email id like username@facebook.com

Internet RelatedApril 24, 2011

Step 1 – Login to Facebook.com with your login Id and password. Now you need to have unique username to…

Read more

How to change microsoft office 2007 product key after installation

WindowsOSApril 22, 2011

————————————————————————————————————————- Close all Microsoft Office applications. Click Start, click Run, type regedit in the Open box, and then click OK.…

Read more

How to get the creation date & time of a particular file

QTP_VBScriptingApril 12, 2011

Set f1 = CreateObject(“Scripting.FileSystemObject”) Set f2 = f1.GetFile(“D:QTP_TESTtest.docx”) S = “File was Created on: “&f2.DateCreated Msgbox S

Read more

How to list name of subfolders of a folder

QTP_VBScriptingApril 12, 2011

Let’s assume, we have D:PFolder where 3 subfolders present named as sun1, sun2 & sun3 We will use FileSystemObject as…

Read more

What is 2 way mirror – they can see you, but you can’t see them

Awareness...January 20, 2011

Mirror illusion in Hotels or showrooms(Trial rooms) –HOW TO KNOW 2 WAY MIRROR OR NOT????What is 2 way mirror –…

Read more

ABBREVIATIONS…

Abbreviations...December 29, 2010

A B C D E F G H I J K L M N O P Q R S T…

Read more

Software Dev life cycle & software Testing life cycle…

SoftwareTestingDecember 23, 2010

SOFTWARE DEVELOPMENT LIFE CYCLE: CRS (Customer Requirement Specification) SRS (System Requirement Specification) Planning & Analysis Design (High level (In brief)…

Read more

Blood group details… who can donate to whom….

Awareness...December 21, 2010
Read more

For INDIAN users – trace ur mobile numbers, vehicle registration details….

Web linksDecember 21, 2010

http://trace.bharatiyamobile.com/

Read more

About software stuff….

Web linksDecember 21, 2010

http://devilsworkshop.org/

Read more

Online help documentation about the OS & Softwares….

Web linksDecember 21, 2010

http://www.uwec.edu/help/index.htm

Read more

Height to Weight ratio…..

Awareness...December 21, 2010
Read more

Remove Windows Genuine Advantage check in windows OS…

WindowsOSFebruary 23, 2010

Following three simple steps now you can get rid of the pesky and sometimes buggy Windows Genuine Advantage (WGA) notifications:1.…

Read more

Useful exe commands for windows run…

WindowsOSFebruary 23, 2010

————————————————————————————————————————- Character Map (charmap.exe) – Very useful for finding unusual characters. Disk Cleanup (cleanmgr.exe) – The usual Disc cleanup. Clipboard…

Read more

Download Youtube videos for free, No software required

Internet RelatedFebruary 23, 2010

I am going to tell you one of the fantastic way to download youtubevideos in .flv format without the use…

Read more

Internet Explorer Shortcuts…

WindowsOSFebruary 23, 2010

————————————————————————————————————————- ALT+RIGHT ARROW : Takes you to the next page . SHIFT+CLICK : Open a hyperlink in in new window…

Read more

How to know ur system is of 32bit or 64bit processor…

WindowsOSFebruary 23, 2010

————————————————————————————————————————- Windows Vista Method 1 Click Start, then click on Run or Start Search. Type msinfo32.exe and then press Enter…

Read more

Sample papers for ISTQB Exam…

SoftwareTestingFebruary 12, 2010

get the docs from the below link…http://docs.google.com/leaf?id=0B1RjrG8wwL_FYzc3NWEzMDktMDIzMC00YjY3LWEyOTgtNWEwZWYyZGU1MTdl&hl=en ALL THE BEST!!!!

Read more

Levels of testing

SoftwareTestingJuly 25, 2009

Unit testing: The primary goal of unit testing is to take the smallest piece of testable software in the application,…

Read more

Testing + Methods of testing + Techniques

SoftwareTestingJuly 25, 2009

TESTING: Execution of program with the intend of finding errors & to check the functionality of product, so as to…

Read more

Error, Bug, Defect

SoftwareTestingJuly 25, 2009

Simple Wikipedia definition of Bug is: “A computer bug is an error, flaw, mistake, failure, or fault in a computer…

Read more

Priority & Severity in testing

SoftwareTestingJuly 25, 2009

High Severity & Low Priority :  For example an application which generates some banking related reports weekly, monthly, quarterly &…

Read more

To determine which service pack is currently installed on your computer, follow these steps:

WindowsOSJuly 4, 2009

————————————————————————————————————————- Click Start, and then click Run. Copy and paste, or type the following command and then click OK: winver…

Read more

To avoid the just in time exception error & unexpectedly closing of browser:

WindowsOSJuly 4, 2009

————————————————————————————————————————- Type in command prompt : drwtsn32 -i

Read more

How to Download Books from Google

Internet RelatedJune 25, 2009

I don’t know if Google would like this, but it is, definitely, not a hack. This is just teaching you…

Read more

Terms regarding OS

Some termsJune 25, 2009

1.What is svchost.exe?One of the most common questions about system processes is what is svchost.exe and why are there so…

Read more

Windows tips n tricks

WindowsOSJune 8, 2009

In this post, we will be looking into some of the tips and tricks which makes us easy to operate…

Read more
12345
6789101112131415161718192021222324252627282930313233343536373839404142
…43→
Categories
Abbreviations... ADBcommands Agile API Appium Autoit Awareness... css Cypress Database Docker Eclipse ExtentReports git githubActions Internet Related JavaForQA JavascriptExecutor JenkinsCI jmeter json MacOS MavenBuild Misc Mobile Offline Installer Protractor Python QTP_VBScripting Quality Center and QC OTA SeleniumC# SeleniumPython SeleniumTesting Sikuli SoftwareTesting Some terms testng TestStackWhiteFramework TypeScript Uncategorized WebdriverIO_TS Web links WindowsOS xpath
Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Topics
  • Software-Testing
  • Selenium-Java
  • TestNG tutorial
  • Appium Tutorial
  • JavaForQA
  • Python topics
  • Protractor with TS
Buy me a coffee
All rights reserved | qavalidation
  • Contact me
  • About me
  • Demo
  • DemoForm
  • TechStuff
———Top Menu
Go to Top