Open in app

Sign In

Write

Sign In

Courtney Zhan
Courtney Zhan

74 Followers

Home

About

2 days ago

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


Dec 23, 2022

Playwright vs Selenium WebDriver Syntax Comparison by Example

Raw Selenium WebDriver with Ruby Binding is much better. — Update (2022–12–26): Check out the annotated version (by my father). In my intern role early this year, I developed a set of automated test scripts. To be exact, 29 test cases, running reliably on a daily basis. My colleagues and managers were impressed. I started with Selenium WebDriver with Rspec…

Selenium

5 min read

Playwright vs Selenium WebDriver Syntax Comparison by Example
Playwright vs Selenium WebDriver Syntax Comparison by Example
Selenium

5 min read


Dec 17, 2022

Select a date in a DatePicker with Selenium WebDriver

How to use Selenium WebDriver to select a date in a date picker — Many modern websites use date pickers to select dates. This article will show you how to use Selenium WebDriver to select a date via a date picker in an automated test script. I will script using raw Selenium WebDriver in RSpec, using TestWise IDE. For some date-pickers, we may be…

Automated Testing

4 min read

Select a date in a DatePicker with Selenium WebDriver
Select a date in a DatePicker with Selenium WebDriver
Automated Testing

4 min read


Dec 10, 2022

Set up Appium 2 to Run XCUITest (for iOS)

Setup and run an Appium 2 automated iOS test with XCUITestDriver — Update: Check out the annotated version by my father. Appium is a free, open-source and dominating test automation framework for desktop and mobile applications. Appium, like Selenium, is WebDriver-based.

Appium

5 min read

Set up Appium 2 to Run XCUITest (for iOS)
Set up Appium 2 to Run XCUITest (for iOS)
Appium

5 min read


Dec 4, 2022

My Featured Articles

I started posting articles on Medium on Dec 25th, 2021. Some of my articles have since been featured in the following software testing newsletters: Coding Jag Software Testing Weekly Software Testing Notes (Paused as of Sep-08, 2022) So far, 15 of my articles have been referenced below Last Updated January…

1 min read

1 min read


Dec 3, 2022

Automated Testing Elements on a Lazy Load Page with Selenium WebDriver

How to verify elements that get dynamically loaded on a page using Selenium WebDriver — Some modern websites now use lazy loading (also known as progressive loading). Instead of loading everything on the page at once, the items load as you scroll. This brings challenges to test automation, because the element we want to control may not be displayed yet. An example site is Substack…

Automated Testing

3 min read

Automated Testing Elements on a Lazy Load Page with Selenium WebDriver
Automated Testing Elements on a Lazy Load Page with Selenium WebDriver
Automated Testing

3 min read

Courtney Zhan

Courtney Zhan

74 Followers

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech