Open in app

Sign In

Write

Sign In

Courtney Zhan
Courtney Zhan

90 Followers

Home

About

4 days ago

Drive Google Map Address validation with Selenium WebDriver

How to use Selenium WebDriver to select and validate a Google Map address — Integrating Google Maps to validate an address is a common feature on web pages. This article shows how to automate that in raw Selenium WebDriver. Table of Contents: · Test Design ∘ Execution (Video) · Test Script: ∘ Refinement ∘ Refactoring · Zhimin’s Notes Test Design:

Selenium

2 min read

Drive Google Map Address validation with Selenium WebDriver
Drive Google Map Address validation with Selenium WebDriver
Selenium

2 min read


Mar 12

Locating a Web Element that disappears after Inspect

Two methods for inspecting disappearing dynamic elements — Dynamic elements are generated on the fly on a web page. This means they often do not exist in the static page source. This is a challenge for web test automation. The only practical way (I am aware of) is to get it by Inspecting the dynamic element directly. However…

Automated Testing

3 min read

Locating a Web Element that disappears after Inspect
Locating a Web Element that disappears after Inspect
Automated Testing

3 min read


Feb 25

Case Study: Image Manipulation in Automated End-to-End Tests

Automate an iOS Tic Tac Toe app with Appium 2 (XCUITest) Part 2: Player vs Computer. — In a previous article, I walked through using Appium 2 to play a TicTacToe game (on iOS). That was Player vs Player mode, i.e. we can plan the moves to get desired output. I will add a more dynamic twist in this article by choosing Player vs Computer mode. …

Appium

7 min read

Case Study: Image Manipulation in Automated End-to-End Tests
Case Study: Image Manipulation in Automated End-to-End Tests
Appium

7 min read


Feb 19

Automate an iOS Tic Tac Toe app with Appium 2 (XCUITest) Part 1: Player vs Player

How to use Appium 2 to automate playing Tic Tac Toe — In this article, I’ll show you how to automate Nathan Fallet and Group MINASTE’s Tic Tac Toe iOS app with Appium 2. Table of Contents: · Setup ∘ Install Appium 2 and the XCUITest Driver ∘ Build the Tic Tac Toe app · Get Started ∘ How to Play Tic Tac Toe…

Xcuitest

6 min read

Automate an iOS Tic Tac Toe app with Appium 2 (XCUITest) Part 1: Player vs Player
Automate an iOS Tic Tac Toe app with Appium 2 (XCUITest) Part 1: Player vs Player
Xcuitest

6 min read


Feb 11

Case Study: Automation Script to Extract the Top 10 Authors featured in the Software Testing Newsletters

To verify my father’s claim that he was the “most featured author in the leading software testing newsletters”. — In a recent article, my father made a guess that he was “probably the most featured author in the leading software testing newsletters”. …

Automate Script

8 min read

Case Study: Automation Script to Extract the Top 10 Authors featured in the Software Testing…
Case Study: Automation Script to Extract the Top 10 Authors featured in the Software Testing…
Automate Script

8 min read


Feb 4

Automate Windows Calculator (UWP) with Appium 2

Drive Windows UWP apps with Appium 2. — In a previous article, I went through how to automate iOS apps with Appium. In this article, we will drive a Windows app with Appium 2 (currently in beta). The sample app for today is the Windows Calculator, a Universal Windows Platform (UWP) app.

Automated Testing

4 min read

Automate Windows Calculator (UWP) with Appium 2
Automate Windows Calculator (UWP) with Appium 2
Automated Testing

4 min read


Jan 28

Case Study: Wait for File Download to Complete Safely in Selenium

How to increase reliability in an automated test for a file download — This article will show you how to verify a file download completes successfully in Selenium WebDriver. The test site for this article is http://zhimin.com/books/pwta. There is a sample PDF download that I will use for the tests.

Automated Testing

4 min read

Case Study: Wait for File Download to Complete Safely in Selenium
Case Study: Wait for File Download to Complete Safely in Selenium
Automated Testing

4 min read


Jan 20

Case Study: Mechanize Performance/Load Testing User Login with CSRF Token Protection

How to use Mechanize for a website’s performance and load testing — Mechanize is a library for automating interactions with websites, without a browser involved. Mechanize is implemented in many scripting languages, such as Perl (WWW::Mechanize), Python (mechanize) and Ruby. In this exercise, I will use it for performance/load testing in Ruby. If you are new to Ruby, don’t need to worry…

Mechanize

6 min read

Case Study: Mechanize Performance/Load Testing User Login with CSRF Token Protection
Case Study: Mechanize Performance/Load Testing User Login with CSRF Token Protection
Mechanize

6 min read


Jan 14

Case Study: Locator Chaining in Selenium WebDriver

Cleaner and more readable locators in Selenium tests with Locator Chaining — Locator Chaining is a way to find an element relative to another one. I will illustrate how to use locator chaining with a real example in this article. · One Selenium Test Failed · Analyse · The Problem — Multiple Elements · The Solution — Locator Chaining ∘ 1. Find all matching elements…

Selenium Webdriver

5 min read

Case Study: Locator Chaining in Selenium WebDriver
Case Study: Locator Chaining in Selenium WebDriver
Selenium Webdriver

5 min read


Jan 7

Playwright vs Selenium Speed Comparison

Selenium WebDriver is slightly faster than Playwright. — Update 2023–01–09: Annotated version by my father. In the previous article, I compared the test syntax of Playwright and Selenium WebDriver. One feedback I have heard is that “Selenium is slower”. Both are fast in terms of test execution from my experience. Today, I did a benchmark to verify the…

Selenium Webdriver

5 min read

Playwright vs Selenium Speed Comparison
Playwright vs Selenium Speed Comparison
Selenium Webdriver

5 min read

Courtney Zhan

Courtney Zhan

90 Followers

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech