Nuggets of Tech learning
-
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
-
Beginner Linux Shell scripting exercise for Testers
I have beginner level competency in using shell scripting for day to day Testing/Automation jobs, as I tend to use Python for it. A recent task forced(sometimes that is a method that works 🙂 ) me to start learning Shell scripting a bit, so sharing it here. Hope it helps other Testers to start exploring… Continue reading
-
Starter pack on Penetration/Security Testing for newbies
As an experienced Tester, recently I have been endeavouring to grow my Penetration & Security Testing skills. As with any new skill-set the journey can get overwhelming very quickly , because of the vast number of concepts, new terminologies, lack of dedicated mentorship and research sources . Based on my learning and explorations over the… Continue reading
-
Quick starter – Web automation using Playwright
Playwright is a (relatively) new kid on the block, joining several others kids already on the block, that are the JavaScript based automation frameworks. I learnt about it from a mention on Twitter and thought to give it a whirl. This post is purely meant to be a sketchy guide on getting started with it… Continue reading
-
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
-
A genteel peek into GitLab CI/CD
My CI engine of choice & experience as a Tester has been Jenkins. One of the strategic projects in the pipeline at my current client is to adopt GitLab as a solution for SCM,Continuous Testing and potentially Continuous Deployment . And that project involves porting a Test Framework ( that I was fortunate to lead… Continue reading
-
Pen Testing reconnaissance 101 : Using NMap,Tor and ProxyChains
Learning objective : How can you perform reconnaissance on a remote target to check which ports are unsecured for possible exposure to network attacks? Step 1: Create or choose an off the shelf Network Port scanner. Based on my research and talking to more experienced peers in this space, I choose Nmap ( https://nmap.org/) ,… Continue reading
-
Python 3.x – Using sets to parse log data
Testing problem: As a output of a data transformation program, I had a large excel sheet ( 100 ~ 200 MB) of error logs to sieve through manually to look for error codes. These error codes were supposed to be compared against an expected set of error codes, to ensure that the program was capturing… Continue reading
-
Performing sorting on sub strings in Python 3.x using “key” parameter
sorted() and list.sort() are very useful inbuilt Python functions . They get even more powerful with the “key” parameter The key parameter basically allows us to call either another function or some logic, the outcome of which forms the basis of our sorting. The return value of the key parameter will be used to decide… Continue reading
CATEGORIES
Recent Posts
- 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
About Me
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.