QA–QC Arena – Software Testing Home for beginners and experts

Hands-on with TestProject - Web App Tests (Part 1)


In previous blog posts we have seen the introduction of TestProject, creating an account on TestProject, installing and registering an Agent on TestProject platform. Now in this blog post, we will see below items.

# Creating a Project on TestProject platform
# Creating an automated Web App Test (check) using TestProject’s Smart Test Recorder

Let’s get started. 😀

Creating a Project on TestProject platform
In order to get started with creating an automated Web App Test (check), first of all we need to create a Project. TestProject platform allows you to create projects very easily.


Let’s log in to TestProject platform here. After successful login; click on Add a new Project.








Enter Project Name, Description, and click on Create.





After successful creation of a Project, you will be taken at your newly created Project’s page as below.



This Project can hold your Tests, Jobs, Elements, Data Sources, etc. In a Project, you can add folders as per your need; you can add unlimited number of users and assign them specific permissions. The inherent goal here is to make sure that Testing Teams can work in a collaborative environment and manage all tests specific to a Project.


Creating an automated Web App Test (check) using TestProject’s Smart Test Recorder
In Order to create a Test, click on Create a test. Similarly; you can click on the New Test option present next to Developers menu.





On Create a new test dialog, you can see the options as Mobile, Web, and Code for selecting Test Type as below.




In this case; select Web, and click on Next.




Enter Name and Description as below and click on Next.


Here we need to select which test application this test is for. Click on the Select web application drop-down as shown below.


Since this is a first test we are creating, there are no applications available in the list. Hence; click on Add a new application for testing.


Here we are going to use TestProject’s example site as our application under test. Enter Application Name, URL as below and click on Finish.


After clicking on Finish; we are again taken back to the test creation wizard and this time newly added test application present as selected.




If we click on the Select web application drop-down; newly added test application is present in the list as below.




Let’s keep the newly added application selected and click on Next.



To create a new test; here we have options as Record, Edit, and Blank Test as below.



Select Record and click on Start Testing.



Clicking on Start Testing; test recorder opens a new instance of a browser with an example site (application under test) loaded as below and ready for recording. Now let’s fill in the Login Form.





First of all; click on the Full Name text box. As soon as the text box is selected, a test step is getting added automatically to our Test Case.





Clicking on the respective test step; TestProject displays all the details of it as below. Here you have the options to choose such as On Failure Behavior, decide when to take Screenshots, add Pauses or Timeouts, etc.


Now go to the element (Full Name text box); mouse hover on it and press double shift to freeze the element and open the element inspector options. From the Actions menu, select Type text as below.



Clicking on Type text opens a new Create Step wizard as below. Enter the Keys as john Doe and click on Create.




Clicking on Create; 3rd test step gets added to the test case. Similarly; we can add test steps for Password field as well. TestProject also has a Secret Parameter feature built-in the smart test recorder that allows storing sensitive information (such as passwords) in an encrypted state.



Click on Login button. 


As soon as we click on Login, a test step is getting added automatically to our Test Case.



After successful login, let’s perform a validation.
Now mouse hover to a text john Doe, and press double shift to freeze the element. From the Validations menu, select Contains text? as below.




Clicking on Contains text? opens a new Create Step wizard as below. Enter the Text as john Doe and click on Create.



Clicking on Create; 7th test step gets added to the test case as below.



Here we are done with test creation and we can close this window. Now; let’s go to the TestProject’s main window where the test is set up and ready for anyone on the team to run.




Creating a Web App Test using TestProject platform is very easy, isn’t it? 😀


If you haven’t yet registered on TestProject platform, then you can do it now. Remember, it’s completely free.

In the next blog post, we will see how to run the recorded tests, edit tests and more actions using TestProject platform.

Keep learning, keep sharing.

Getting Started with TestProject - Install and Register an Agent


In the previous blog post we have seen the introduction of TestProject platform. Now in this post we will see the below items.

# Creating an account on TestProject platform (it’s completely free!)
# Downloading and installing TestProject Agent
# Registering an Agent on TestProject platform

Let’s get started. 😀

Creating an account on TestProject platform
In order to create an account; navigate to TestProject platform here.








On this page you can enter all the essential details and sign up on TestProject platform. After successful sign up, you will receive a confirmation e-mail. Make sure you check that e-mail and confirm it so that you can start using TestProject.

Downloading and installing TestProject Agent
Once you confirm your e-mail, login to TestProject platform here. After successful login; your TestProject account will look like as below.











Now, mouse hover to Agents menu.



Here you will see that TestProject Agent is available for Windows, Linux, and Mac platforms. You can select the platform as per your need and download an agent.

Once you download an agent; install it by following standard instructions as below.










As seen in a previous blog post, this Agent removes all the complexity of installing and managing drivers required for Selenium and Appium (it already does all the hard work for you and is pre-packaged with all Selenium and Appium dependencies you need to get started). It allows using all the browsers on the machine and any attached mobile devices to record, develop, execute, and debug your tests. In addition, this agent connects the local machine and devices to the TestProject’s cloud based shared testing repository that Tester has access to through the TestProject account from anywhere around the world.


Registering an Agent on TestProject platform
On TestProject platform, navigate to the Agents section as below.






Now click on the Register Agent button.





Enter the Agent Alias and click Save.















Once the Agent is created, click Register. Please make sure your TestProject agent is running on the local machine during this registration process.








Once your Agent is registered, it will appear in the Agents section as below.





The green monitor icon on top right side (next to Help) signifies that your agent is idle and ready for use. Once you click on the Agent name, you will see the information about the installed Browsers (along with their respective versions), Frameworks, and other general information about the agent.


Depending on your need, you can keep your Agent as Public or Private. Public agents are available to all users that also have access to your account. Anyone associated with your account can use it as a remote agent for execution and view/control attached devices. On another side; Private agents are only available (and visible) to agent owner and account administrators.

In the next blog post, we will see how to create a new Project, add team members, and create automated tests (checks) for the Web using TestProject’s Smart Test Recorder.

Keep learning, keep sharing. 😀

Introduction to TestProject


Let’s check out the quick chat between these two Testers. 😀


Now, let’s understand what is TestProject? 😀

TestProject is a framework built on top of standard open source automation tools like Selenium and Appium. It aims to simplify the test automation experience.

In order to use TestProject platform, you need to sign up, download, install and register an Agent.

TestProject Agent
TestProject Agent is nothing but a single executable/desktop component that needs to be installed on the local machine. This Agent removes all the complexity of installing and managing drivers required for Selenium and Appium. It allows using all the browsers on the machine and any attached mobile devices to record, develop, execute, and debug your tests. In addition, agent connects the local machine and devices to the TestProject’s cloud based shared testing repository that Tester has access to through the TestProject account.
The best part is; this TestProject Agent is available for Windows, Mac, and Linux platforms.

Smart Test Recorder
TestProject platform allows you to create projects easily. These Projects can hold your Tests, Jobs, Data Sources, Elements etc. In a Project, you can add unlimited number of users, assign them specific permissions. Using TestProject’s Smart Test Recorder, you can quickly record and create automated tests (checks) for Web, Android and iOS applications. You can even export the recorded tests to code. TestProject helps the Testing Teams to work in a collaborative environment.

Shared Addons
TestProject makes the elements reusable which makes test maintenance easier and allows for control and customization. In addition, TestProject helps you to create your own addons.
Basically addons are nothing but reusable automation actions (pieces of code) that allow you to extend your tests. This is really helpful if you're not a coder as you can just use the addons that have been shared by the community to extend your tests.


SDKs
If you can code and want a particular action you can quickly and easily create your own addons using TestProject SDK.TestProject provides a SDK for creating tests and addons using standard open source libraries (Selenium & Appium) for Web, Android and iOS applications.The SDKs implement standard selenium APIs so this makes the development of new tests and the migration of existing tests into the platform simple and straight forward.
As of today, TestProject’s SDK has a Java and C# (.NET Core) implementation and soon they are planning providing support for additional programming languages, such as: Python, JavaScript, etc.

Reports/Test Analytics
TestProject provides extensive reporting and analytics, which can help with debugging failed tests and it can help you see trends across tests and across projects.

The important thing is, you can use all these TestProject’s features along with an unlimited number of Agents, Users, and Projects for free. Yes, you read it correctly. You can get all this in TestProject’s free plan.

Sounds interesting? 😃

In the next blog post we will see how to sign up to a TestProject platform, download, install and register an Agent.

Keep learning, keep sharing.