Best Online Resources to Learn Automation Testing

Introduction I spent many years doing software test automation. Throughout those years I created a list of my favorite resources that helped me improve my skills. Below is that list. Most of the resources for learning test automation are focused on Selenium WebDriver because it is the most relevant technology today. However, some general resources are also available to improve your test automation skills. Online Video Tutorials 1) Selenium 2 WebDriver Basics with Java Alan Richardson Selenium WebDriver | Java | $229 There are a ton of Selenium WebDriver courses out there. Most of them are complete garbage, but Alan’s course is just awesome. He will teach you many different aspects of Selenium Webdriver such as: How to handle iFrames How to write tests How to perform user interactions How to invoke JavaScript How to work with tabs And so much more, from basic to advanced I still go back to it from time to time to see if there is something else that I can learn. 2) Selenium Webdriver - Master Synchronization Techniques $Free | Selenium WebDriver | C# | Visual Studio | MS Test This is a free Selenium Webdriver course that you can use to seriously improve the stability of your automated functional tests. Here are some topics that you will learn: Learn the problems that can occur as a result of improper synchronization Learn how to use Selenium Webdriver explicit waits Master Selenium Webdriver implicit waits Understand what a DefaultWait is Comprehend how to use all of the different types of waits during appropriate situations 3) C# For QA Automation Engineers Using Selenium Webdriver $Free...

Parallel Test Execution Using Selenium Webdriver

Parallel Test Execution Using Selenium Webdriver Introduction Parallel test execution involves running a suite of automated tests in parallel as opposed to sequentially. You don’t execute your tests one by one. Rather, you take the entire batch and split it up amongst multiple servers so that each server can run a single test at a time. This techniques has some fantastic advantages to improve your overall software development life cycle. First, running your tests in parallel can significantly decrease your execution time. If you have enough resources to run all of your tests at once, then the duration of the test execution will last only as long as your slowest test. For example, if you have 100 tests and 100 virtual machines on which to run these tests, then dividing them in parallel will allow you to run 100 tests at once. If your slowest test takes two minutes to run, then that is how long it will take for the entire test suite to execute. Running these 100 tests sequentially will take you magnitudes of times longer because you can only execute one test at a time. Therefore, you need to add all of the test run times together to understand how long that will take. If we assume that each test takes two minutes to run, then running them sequentially will take 200 minutes of run time. That’s a 5000% difference! The second advantage that parallel test execution has over sequential test execution is that it gives your team a faster feedback loop. If your test suite can execute faster, then your team can have feedback faster...

How to use the Tor browser with Selenium Webdriver and C#?

What is Tor Browser? Well, Tor browser is cool because it allows you to browse the web anonymously. If you take a look at your IP address in a Tor browser, you will notice that it's not the actual IP of your computer. In fact, your IP might come from a completely different country when you are using a Tor browser. As a QA Automation Engineer, I like using Tor to see how my application handles different ip addresses. You can run a test on Tor and see how the web app handles a visitor from Australia, Germany, and any other random country. You can check the performance of your app against different locations and make sure that this is acceptable to your Product Owners or clients. Furthermore, journalists like to use this to stay anonymous on the web. Some people like to use this browser to just stay anonymous in general. And others even use this browser for bad things that occur on the Deep Web (tum dum dum...). Whatever your need for using the Tor browser, I will teach you how to use Selenium Webdriver to automate that sucker. What you do with this knowledge is up to you.     Our Test Case The goal for this test case is simple: Open Tor browser using Selenium Webdriver Go to this url www.qtptutorial.net/automation-practice Select the radio button that says, “I love HP UFT” Select this: How to set up and Download Everything that you need to run Tor? Download the Tor browser here Pick the appropriate version based on your Operating System You will download an application called something...

How To Download A Github Project and Open It in Visual Studio

Today I want to share with you how to download a project from Github. You can do this with any project, but I specifically want to teach you how to download this Automation Testing framework that I developed. The framework is HERE.   For Visual Studio 2015 (Since the project was coded in VS 2015, importing it into here is the easiest. Another version will have a few extra steps that I will show you all) 1. Go to the url in the search bar. Alternatively, you can also go to "github.com/nadvolod" and then find the project called "LightPomFrameworkTutorial". 2. Click the "Download ZIP" button to download the project.                       3. This is the .zip file that was downloaded. Go ahead and extract it to a location of your choice. 4. Open Visual Studio 2015 as administrator. 5. Open the Solution in Visual Studio.                         6. Go to the location of the extracted files. Open the "LightPomFramework.sln" file from VS. This is the solution file that will load all of the appropriate assets for you to make the automation framework run.             7. You might get this security warning. Go ahead and click "OK". Don't worry, I'm a trustworthy source and I won't be sending any viruses haha. You can yell at me if something goes wrong 8. In the Solution Explorer, you should not be able to now see all of the framework assets in all of their glory. 9. Build the...

Resharper for Visual Studio: Build Amazing Automation Testing Code

Something amazing happened to me recently! I am always learning, growing and exploring other resources. And recently I stumbled upon an amazing Visual Studio productivity tool called ReSharper. According to JetBrains, the creators of ReSharper, "ReSharper makes Microsoft Visual Studio a much better IDE. .NET developers worldwide wonder how they've ever lived without ReSharper's code inspections, refactorings and navigation." From my first usage, I can claim that this assertion is completely correct. Within a few minutes of installation I had ReSharper improving my code in countless ways. It was simply phenomenal! By the way, I am not an affiliate of any sort for this company. I just freaking love the tool and wanted to share the awesomeness with my fellow Software Testers. What is ReSharper? ReSharper is a tool that can be plugged into Visual Studio to help improve its IDE. There is a ton of benefits that can come from ReSharper that we will discuss later. This is the site with their download link. You get a Free 30 day trial. Why Should Automation Engineers Use ReSharper? As I stated before, I personally love this tool. It simply makes your code much better without having to spend hours refactoring. It helps to analyze your code during design time and helps you to fix tons of different errors and warnings. ReSharper removes redundant code, unused variables and unused references. ReSharper helps to keep you following the Microsoft standards of using C#. ReSharper makes your code easier to understand and maintain. It even helps to improve your logic so that it is easier to follow in the future. After about 1...

How To Create An Automated Check Using WebDriver in Browser Stack with C#

I. How to set up a Visual Studio unit test project for automation testing? Open Visual Studio and click "New Project" to start a new project. For those of you that are new to Visual Studio, a project can represent a collection of things such as classes and tests. On the left pane, open Templates > Other Languages > Visual C# > Test > Unit Test Project. A unit test project is useful to create a collection of unit tests. Something that an Automation Engineer desires. The highest level is the Solution which can encompass multiple projects. The projects can contain multiple classes and other assets. So the name of the solution usually represents your organization. In this case, I just named it QTP Tutorial Tests for our purposes, assuming that this solution would just have a bunch of tests related to the site. Inside of the solution, you can have projects that correlate to each of your applications. Click "OK" button after you finished naming your solution and project. Automatically your Visual Studio will take you to a template of a unit test. It creates everything for you. You can rename the classes and the method names, but that's not relevant for these purposes. II. How to import appropriate assemblies into Visual Studio to run automated checks? In the "Solution Explorer" tab on the right side, right click on "References" and then select "Manage NuGet Packages". You can think of NuGet packages as plugins or extensions that give you code to be able to perform certain actions. These have been developed by different individuals to solve a common problem....

Pin It on Pinterest

Clef two-factor authentication