Simplest Guide to XPath Axes in Selenium Webdriver by Codoid

Simplest guide to XPath Axes by Codoid. Must Read:

To use XPath effectively in Selenium WebDriver, you should be familiar with XPath Axes and HTML. There are thirteen axes available for XPath. As per the definition in Mozilla Web Docs – “An axis represents a relationship to the context node, and is used to locate nodes relative to that node on the tree.”

As an automation tester, if you are familiar with XPath Axes, you can write robust locators for dynamic WebElements.

Let’s look into all the XPath Axes which are useful for test automation scripting.

Let’s say you want to select a parent node using its child node. You first write XPath to pick the child node and the parent node using XPath parent axis.

Read More at: https://codoid.com/how-to-use-xpath-axes-in-selenium-webdriver/

Read More at: https://codoid.com/how-to-use-xpath-axes-in-selenium-webdriver/

Career Roadmap for SDET – Automation

SDET-Career-Roadmap
(image embedded in video to enable HD format readability)

Stage 1 – Starting Point:

Learn a programming language in-depth preferably one of these – Java, JavaScript, Python

Stage 2 – Front End Automation:

Key Tools:
Web — Selenium, Protractor, Webdriver.io, Puppeteer, Cypress.
Mobile — Appium, Espresso, XCUITest.
Desktop — UFT, UiPath

Stage 3 – Backend Automation:

Key Tools: SOAP — SoapUI.
RESTful, GraphQL — PostMan, RestAssured, RestSharp,Karate.
gRPC — BloomRPC

Stage 4 – DevOps Automation:

Key Tools:
Code & Build — Git, Bitbucket, Maven, Gradle, WebPack, Docker
Packaging— Docker, Ansible, Puppet, Chef
Release & Configure — Jenkins, Docker Swarm, Kubernetes, GitLab, GitHub Actions

Stage 5 – Cloud Automation:

Key Tools:
AWS Services — EC2, S3, Lambda, SNS, Glacier, RDS, VPC

Read complete details at: https://babu-manickam.medium.com/career-roadmap-for-functional-test-automation-developers-611b77f126ac

Understanding Continuous Integration – Part 2

[Must Read Part 1]

In addition to automated tests, organizations using continuous integration typically use build tools to implement continuous quality control. In addition to running unit and integration tests, such tools can run additional static and dynamic tests, measure and profile performance, extract and format documentation from the source code, and facilitate manual quality assurance processes. This continuous application of quality control aims to improve the quality of the product as well as reduce the time taken to deliver it by replacing the traditional practice of applying quality control after completing all development.

Build tools can be linked to automatic deployment tools, which can fetch the appropriate build from the continuous integration or build server and deploy it into one or more development, test, staging, or even production environments. This reduces the errors and delays associated with relying on specialized staff or programmers to install releases in these environments.

Continuous integration can provide the following benefits:

  • Allows earlier detection and easier root cause analysis of integration problems and conflicting changes
  • Gives the development team regular feedback on whether the code is working
  • Keeps the version of the software being tested within a day of the version being developed
  • Reduces regression risk associated with developer code refactoring due to rapid re-testing of the code base after each small set of changes
  • Provides confidence that each day’s development work is based on a solid foundation
  • Makes progress toward the completion of the product increment visible, encouraging
  • developers and testers
  • Eliminates the schedule risks associated with big-bang integration
  • Provides constant availability of executable software throughout the sprint for testing,
  • demonstration, or education purposes
  • Reduces repetitive manual testing activities
  • Provides quick feedback on decisions made to improve quality and tests

However, continuous integration is not without its risks and challenges:

  • Continuous integration tools have to be introduced and maintained
  • The continuous integration process must be defined and established
  • Test automation requires additional resources and can be complex to establish
  • Thorough test coverage is essential to achieve automated testing advantages
  • Teams sometimes over-rely on unit tests and perform too little system and acceptance testing

Continuous integration requires the use of tools, including tools for testing, tools for automating the build process, and tools for version control.

Understanding Continuous Integration – Part 1

Delivery of a product increment requires reliable, working, integrated software at the end of every sprint. Continuous integration addresses this challenge by merging all changes made to the software and integrating all changed components regularly, at least once a day. Configuration management, compilation, software build, deployment, and testing are wrapped into a single, automated, repeatable process. Since developers integrate their work constantly, build constantly, and test constantly, defects in code are detected more quickly.

Following the developers’ coding, debugging, and check-in of code into a shared source code repository, a continuous integration process consists of the following automated activities:

  • Static code analysis: executing static code analysis and reporting results
  • Compile: compiling and linking the code, generating the executable files
  • Unit test: executing the unit tests, checking code coverage and reporting test results
  • Deploy: installing the build into a test environment
  • Integration test: executing the integration tests and reporting results
  • Report (dashboard): posting the status of all these activities to a publicly visible location or emailing status to the team

An automated build and test process takes place on a daily basis and detects integration errors early and quickly. Continuous integration allows Agile testers to run automated tests regularly, in some cases as part of the continuous integration process itself, and send quick feedback to the team on the quality of the code. These test results are visible to all team members, especially when automated reports are integrated into the process. Automated regression testing can be continuous throughout the iteration. Good automated regression tests cover as much functionality as possible, including user stories delivered in the previous iterations. Good coverage in the automated regression tests helps support building (and testing) large integrated systems. When the regression testing is automated, the Agile testers are freed to concentrate their manual testing on new features, implemented changes, and confirmation testing of defect fixes.

[Click here to Read Part 2]

Postman Quick Reference Guide- Simple Solutions to common problems

This quick reference guide is a collection of the following topics:

  • Postman Cheatsheet
  • Dynamic variables
  • Simple solutions to common problems related to:
    • Request creation
    • Assertions
    • Workflows
    • Newman

Click here to Download the guide.

This document is a part of #1 postman course on Udemy. If you want to register for this course, make sure you use the link below as it will give you a 75% DISCOUNT from the regular price:
https://www.udemy.com/postman-the-complete-guide/?couponCode=PQRG10

[Free Watch] Masterclass: AI and Machine Learning Skills for the Software Testing World

In this 6 Hrs long masterclass video, Tariq discusses how we can innovate and make our testing better through smarter automation and the use of artificial intelligence.

Tariq King is the senior director and engineering fellow for quality and performance at Ultimate Software. With more than fifteen years’ experience in software testing research and practice, Tariq heads Ultimate Software’s quality program by providing technical and people leadership, strategic direction, staff training, and research and development in software quality and testing practices. His primary research interest is engineering autonomous self-testing systems. He is cofounder with Jason Arbon of the Artificial Intelligence for Software Testing Association.

Here is the Video:

2020 State of Test Automation Report

KEY FINDINGS

  1. Regardless of the past decade’s software advancements, test automation is still a huge pain and obstacle for DevOps.
  2. The average test automation coverage is less than 50%. To mature DevOps, organizations must strive toward 75-80% and beyond.
  3. Organizations lack continuous testing strategy that involves entire DevOps teams.
  4. Continuous testing and shifting left heavily depend on the proper matching of individuals’ skillsets. Unfortunately, this is not properly implemented.
  5. Test automation within the software build cycle and pipeline isn’t effective enough, doesn’t happen in time, and suffers from flakiness.

To download the full report, please click here.

[Free Course] Appium – Selenium for Mobile Automation Testing

Automate mobile testing Appium course, covering from Appium download to interview questions (mobile automation tool)

4.0 (1,490 ratings) 32,044 students enrolled.

What you will learn:

  1. You will know how to write test scripts using Appium
  2. You will know how to identify identify various mobile elements using Appium
  3. Yow will know how to work with Appium Grid
  4. Best practices with Appium
  5. Using Appium with TestNg, Maven, Ant, GitHub, Sauce Labs
  6. Knowledge about various Test Automation Frameworks
  7. Automate Mobile Applications (Native,Web & Hybrid)
  8. How you should proceed automation frameworks using Appium

Click here to Enroll: https://www.udemy.com/course/appium-selenium-for-mobile-automation-testing/

[Free Course] Cucumber with Selenium Java (Basics) (4.2 Rating by 44,275 students)

Cucumber with Selenium Java (Basic) course is designed to give anyone who is getting started with cucumber and selenium from complete ground up. In this course we will discuss topics like 

  1. Behavioral Driven Development (BDD) 
  2. Cucumber 
  3. Selenium
  4. Maven 
  5. TestNG
  6. JUnit

This course is separated into two sections. In section 1 we will discuss about Cucumber starting from 

  1. Installation
  2. Writing feature files
  3. Writing simple scenarios and scenario outlines
  4. Working with multiple datas via DataTable 
  5. Understanding hooks
  6. Working with dependency injections

In section 2 we will focus more on Selenium and understand how to write simple to complex code and run cucumber test with Maven and different testing frameworks like TestNG and JUnit.

What you’ll learn

  1. Understand what BDD is
  2. How to work with Cucumber
  3. How to jell Cucumber with Selenium
  4. How to work with different testing frameworks along with cucumber

Are there any course requirements or prerequisites?

  1. Basic knowledge on Java
  2. Basic understanding of Selenium
  3. Basic understanding of HTML

Click here to Enroll: https://www.udemy.com/course/cucumber-with-selenium/