Experience & exploration about software QA tools & techniques.
Maintaining & writing blog posts on qavalidation.com!
Publishing video tutorials on youtube.com/qavbox
Cypress exposes get() method to identify the browser elements based on the matched selector criteria. Selector is basically the CSS Selector syntaxes or patterns. the overloaded methods are – cy.get(selector) cy.get(selector, options) cy.get(alias) cy.get(alias, options) Note – selector accepts “CSS Selector” patterns get() is always chained with cy object get() method is used to locate…
Cypress uses CSS Selector to identify browser elements. If you are coming from Selenium or Protractor background, then you must be familiar with locator strategy CSS Selector. Cypress exposes get() method to identify browser elements. You can refer to below link to get all the CSS Selector syntaxes or patterns. CSS selector patterns All these…
Cypress is an automation tool to automate browser actions and API calls using Javascript & Typescript. Cypress benefits – let’s see couple of benefits of using Cypress – Out of box support for Typescript Has inbuilt assertion methods to validate Automatic waiting Takes automatic screenshot and videos Cross browser testing support Can run tests in…
We have seen how to run selenium tests on chrome and Safari browsers, along with these browsers Firefox browser is one of the popular browsers in the market with large user base. So we need to validate to make sure the functionalities are working fine for firefox browser as well. To run selenium tests on…
We have already seen many posts on how to run selenium tests in chrome browser by downloading the chromedriver and setting the path. To run tests in Safari browser, we will use selenium’s SafariDriver class. Syntax – WebDriver driver = new SafariDriver(); Driver.get(“https://qavbox.github.io/demo/signup/”) Note – As per the below link, We no longer needed to…
In this post we will discuss how to resolve the error as ModuleNotFoundError: No module named ‘src’, when you read data from another py file Let’s see one scenario which throws this error Project structure – app.py Now to run the above code – python3 src/util/appReader.py you will get error – This above error is…
In our previous post, we have seen how to read excel sheet details like single cell data, multiple rows, sheet names, no. of rows & columns. In this post we will be exploring the openpyxl capabilities to write cell data or multiple data into excel sheet. Let’s discuss the manual steps if we want to…
openpyxl is one of the python specific library to handle excel operations like read & write content. In this post, we will see the openpyxl available features to Read and write excel sheet cell wise Fetch the excel content as tuple Write the tuple or list of tuples into excel sheet Install openpyxl – pip…
In our previous post, we have discussed how to use explicit wait in selenium with python, python library provides many different conditions to wait for an element. Still if one likes to customise & create their own webdriverwait conditions, you can! Let’s first understand the logic behind webdriverwait implementation If you go to the implementation…