Environment variables are set to allow access to command line tools and to enable other tools to interact with SDKs more easily. For example, if the environment variable is not set on the
adb command is much more cumbersome as the user has to type full path to the command each time in the terminal. Knowing to set environment variable is an inevitable task for successful test automation. There are load of links available but most of them are outdated at least in case of macOS. …
The art of uncovering the insights and trends in data has been around since ancient times. The ancient Egyptians accurately predicted the flooding of the Nile. Another example from modern time, the invention of computers dramatically enhanced the data analysis. The 1880 Census in the US took over 7 years to arrive at a final report. After the invention of Tabulating Machine, the next census finished in only 18 months. Today Data aggregation has grown so fast and how we think about data has also changed and will change more radically. Being a professional working in the technology space likes to consider this an opportunity. …
An event listener is a procedure or function in a computer program that waits for an event to occur. Example of events are before changing text, after clicking an element, before URL is loaded, etc. Creating effective logging and test script maintenance are the main conventions of event listener in automated testing. Collecting these details through standard logging is an alternative but explicit triggering would be required. Reducing the lines of code and make programmatic interface cleaner can be extra benefit of event listener.
While executing the automation scripts Selenium WebDriver track the numerous events that happen. By design, the listener will react to an event by calling the event’s handler. In Selenium WebDriver
EventFiringWebDriver, class throws an event and an interface named
EventListener catches that event. Through
EventFiringWebDriver, the user can have control to transform the default behavior of the driver. For example, a test failure event activates the automatic screen capture method defined in the
EventListener and starts logging screenshots. …
To outshine in test automation profession trusting on education a single testing tool is not the recommended tactic. Irrespective of the tool you must acquire how to code. Pick up a programming language then learning the ins and outs of an automation tool can give the advantage. In this post compares two scripts that are for performing the same action using the same libraries. The screenshot captured below depicts the functionality. Robot Framework is the tool used for the example but similar features are available regardless of the tool.
Script 1 :
Robot Framework testing capabilities are extending for this script using String, SeleniumLibrary and Collections library. …
SeleniumLibrary 4.0.0 was released on Friday, September 20, 2019.
Python 2.7 and
Selenium 3.8.2 and
Robot Framework 3.0.4 and
Robot Framework 3.1.2. The latest
SeleniumLibrary version is 4.1.0. Before jumping into the feature list commands for updating the
Understand the version of
SeleniumLibrary already installed.
pip3 show robotframework-seleniumlibrary
Understand the location of
SeleniumLibrary already installed.
pip3 install --upgrade robotframework-seleniumlibrary
The library would be updated and after that, if the new keywords are still not found check the referenced libraries of
SeleniumLibrary in red.xml
Reviewing only the most important and recent features of SeleniumLibrary and the list is not exhaustive. …