#100daysofcode :: Python 3.0 , interrupting an endless loop from the keyboard,gracefully

Recently I started out on a mission to further hone my programming skills. Out of the courses that I explored online, the #100daysofcode course from the TalkPython folks appealed to me the most. It is challenging,structured and the instructors are great. I will be blogging my micro-learnings onthis journey. This is the first one from … Continue reading #100daysofcode :: Python 3.0 , interrupting an endless loop from the keyboard,gracefully

Creating and preserving Cookies with Cypress.io

Continuing my joy ride with Cypress.io , I recently wrote a test to check for a successful logon for a public retail website. While the test was easy enough to write but the logon was failing (inspite of the correct credentials) with the below error message returned from the website Debugging the failure  Double check … Continue reading Creating and preserving Cookies with Cypress.io

Exploring the Cypress API – getting and asserting on a DOM element’s children

A common operation during Web UI tests is to view and validate contents of a drop down. As part of my exploration of the ever likable Cypress automation toolset, I recently wrote a UI workflow tests that amongst other things validated the contents and count of a drop down list's elements. I was dreading that … Continue reading Exploring the Cypress API – getting and asserting on a DOM element’s children

A newbie’s toe dip into JS based Test automation using Cypress.io

Recently, I have started exploring alternatives to Selenium Webdriver for E2E Web UI automation and the first tool set that I tried my hand at was Cypress Cypress is a compellingly marketed offering with a touted usp of - Not being a framework based off Selenium Leveraging off existing JavaScript BDD ecosystem ( Mocha and Chai) … Continue reading A newbie’s toe dip into JS based Test automation using Cypress.io

Python 3.0 learnings – List comprehensions

One of the strengths of a simple (yet powerful) language like Python is to achieve the same with less lines of code. A "Pythonic" concept that proves this is list comprehensions Simply put, it enables you concisely create a list in a single line of code based on some logic presented as an iterable object … Continue reading Python 3.0 learnings – List comprehensions

Using cURL commands in a REST client , without wanting to know cURL ;)

I am a newbie to cURL and dont understand cURL commands , neither have I used cURL to make REST API calls before. Recently I encountered a situation where I had access to some cURL "code" and I had to use that perform some GET and POST operations on a REST end-point. Due to lack … Continue reading Using cURL commands in a REST client , without wanting to know cURL 😉

Python & Selenium Webdriver :: working with dropdown options inside a select tag

During my Python & Selenium self-learning I came across a blocker while trying to access and select elements of a drop down. Problem statement -  As a traveler, I want to select Business class for my flight on the Air NewZealand website , just to remind myself how atrociously expensive flying business class is . … Continue reading Python & Selenium Webdriver :: working with dropdown options inside a select tag