Robust Test design with Playwright – using .getbyRole()
One of Playwright api’s tenet for writing robust tests is.. “Prefer user facing/accessibility attributes for selecting elements vs writing CSS/XPath selectors” This ,again, is a new mindset towards writing UI Automation code as you are less prone to DOM changes invalidating your selectors, in turn leading to less flaky tests . The Playwright API facilitates… Continue reading
Browser state transfer between Tests in Playwright
One of the better practices that Playwright’s library supports out of the box ,is pre-authenticated “set-up” state for tests. Use-case: How do we securely and efficiently pass browser session state between tests without having to write code in every test to recreate & demolish that state ? An approach: How can Playwright help : I’m… Continue reading
Layered Testing Automation “skills” & what makes the onion whole ?
From the perspective of automating Testing in complex mission critical products , the skills that you need are layered, nuanced and complimentary like an onion. Layer 1(The bulb) – Tooling layer Learning and applying Programming & Tooling skills in Testing is hard Layer 2 – Critical thinking & decision making layer What is harder is… Continue reading
Quick starter – Web automation using Playwright
Lessons learnt from a POC to automate Salesforce Lightning UI
My recent client work has been on testing a migration(data & business processes) to Salesforce CRM platform. As part of Test execution, I took the initiative to build a POC to exercise automation of Salesforce both by interacting with the Lightning UI and the APEX Salesforce API interface. This post is to share the hurdles… Continue reading
- Robust Test design with Playwright – using .getbyRole()
- Discovery checklist – Navigating the initial obscurity of client engagements
- Browser state transfer between Tests in Playwright
- Fostering blameless communication of Quality
- Observability – advocacy heuristics for Testers/Devs “new” to the system
I’m Sunjeet Khokhar
An experienced People Leader,Practice Lead and Test Manager .
I am driven by the success of people around me, am a keen student of organisational behaviour and firmly believe that we can be better craftspeople by being better humans first.