When I started working in Quality Assurance, automation was not the driving force that it is today. It was becoming common, but Test Driven Development was the goal of software companies. Unit testing was king. QA tested applications manually and focused on the user interface and experience. It wasn’t until my boss told me to look at WATIR that I began thinking about automation.
Code Snippet: Using a config file for Ruby Automation
Question:
I have two test environments plus production and I need to run automation against them. What is the easiest way to configure your test automation to run against different site?
Continue reading “Code Snippet: Using a config file for Ruby Automation “
Snippet: Using a config file for CapserJS and PhantomJS
Today’s Code Snippet is for using a JSON configuration file with CapserJS and PhantomJS. I have been using JSON configuration files with my test automation for a while now to help manage test URLs, user agents, users, etc. It is a great way to make your automation more flexible and update settings for an entire application. Below is an example of how your configuration file would look.
Continue reading “Snippet: Using a config file for CapserJS and PhantomJS”