Test automation is a very crucial part of software testing as it enables the testers to automate repetitive tasks and use the saved-up time to unearth hard-to-find bugs with exploratory testing and other methods. This is what we as a leading automation testing company do to enhance overall quality. But achieving truly reliable automated testing that requires no supervision is no easy task and might even seem impossible to many. That is where tools such as Rapise come into the picture as they simplify the process of automating your tests. So in this Rapise Automation Tool Tutorial, we will be sharing with you how you can use the tool to test your web and desktop applications.
An Introduction to Rapise
Rapise is one of the many products available from Inflectra that is used for record and play automation testing. Rapise uses its very own Rapise Visual Language to create a spreadsheet-based editor that allows users to easily see what actions have been recorded for automation. But the biggest benefit of using the Rapise Visual Language is that it makes editing the tests extremely easy. Of the various record and play automation testing tools we have used, we found Rapise to be very capable. So let’s find out how you can use this tool in our Rapise Automation tool tutorial.
Rapise Automation Tool Tutorial
If you have not yet downloaded the Rapise Automation Testing tool, you can download it by visiting the Inflectra website and download the tool by creating an account. Once you have downloaded and installed Rapise, your first step would be to click on File -> Create New Test button to open the required dialog box.
You will now be able to name your test and define the type of application you need to test in the Create New Test pop-up window. As mentioned earlier, Rapise can be used to test Desktop, Web, and Mobile apps. So this one step will be common for all apps, and from this point onwards, the steps will vary based on your choice. But in order to get a general understanding of how everything works, let’s see how to automate web testing and use that as a base to understand how to automate other apps as well.
Web Automation Testing with Rapise
Once you have opted for Web-based Automation, you’ll have to specify the web profile that you wish to test with. In this Rapise Automation Tool Tutorial, we have used the Selenium Chrome combination. But there are other browser options available such as Firefox, Internet Explorer and Edge. If you’re looking to test on different browsers such as Safari or Opera, Rapise does provide a set of Selenium WebDriver libraries that you can use.
Once you have chosen the type of application you want to automate, you will be asked to choose between two scripting languages RVL (Rapise Visual Language) and JavaScript. RVL is the most convenient way to automate your tests and gets most of the job done as well. So we have chosen RVL for this Rapise Automation Tool Tutorial. But if you are in need of any advanced features for specific requirements, you can opt for JavaScript and utilize that.
Once you have chosen the language of your choice, the main window that you can you use to automate your tests will appear.
Since there is a record and play feature, all you have to do is
- Hit the Record button.
- Provide the URL of the website you want to test.
- Perform the actions you want to be automated.
- Hit the Play button for the same actions to be executed in a new browser window.
Recording the Test
Let’s walk you through these simple steps with the help of an example in our Rapise Automation Tool Tutorial. Let’s say we want to open our website and want to navigate to the About Us page and the Our Products page. So we will click on the Record button and enter our Home Page URL.
The specified URL will be loaded in a Chrome browser window. It will also be accompanied by the Recording Activity window that you can use to Pause, Finish, or even Cancel the recording. Once you have performed all the actions you wanted to record, you can go ahead and press the Finish button to stop the recording.
Executing the Tests
Now the performed actions will be updated in the main window in the Rapise language as shown below. The Type column will always be mentioned as action and in the two adjacent columns, we can see what action is being performed on what object.
Since clicks do not require any parameters, the other 3 columns are empty. But when we look at the action of opening the home page, the parameter information such as the name, type, and value is stored. Next up in our Rapise Automation Tool Tutorial, we’ll be looking at the other available features before we execute our test.
You can use the Debugger option to see a preview of how the test will be automated before you execute it. If you feel like you have to make any changes to the recording, you can do so easily. Let’s say you don’t want to navigate to the Our Products tab as mentioned, you can just select the row and delete it instead of rerecording the entire video.
Now that everything is ready the way you want it to be, you can just click the Play button to execute the test. Once the execution is done, the results will be loaded in the main window and you can view if all the tests have passed or failed.
Advantages:
1. Recording your tests in one browser is enough for cross-browser testing as Rapise will be able to use the same recording for the other browsers as well.
2. Easy to edit your existing recording without having to rerecord them.
Desktop App Automation with Rapise
There is not much of a difference between automating a web app or a desktop app except for a small variation. In order to not make our Rapise Automation Tool Tutorial redundant, we will be seeing only a quick walkthrough and mention the changes from Web App automation. The only major change is that you will not have to choose the browser that you want to test with and that step will be skipped. Instead, you’ll have to choose the desktop application you want to automate after clicking the Record button once the Main window appears.
The steps will be the same as what we saw for automated web testing. We have chosen Notepad as an example in this Rapise Automation Tool Tutorial. Once notepad opened, we maximized the screen and typed a sample text (Codoid Desktop Automation Rapise) for which we got the following data in your Main window.
You can perform the same actions we saw before such as debugging, executing the test cases, and finally viewing the report in the dashboard.
Conclusion
By now it would be evident that Rapise is truly an effective tool when it comes to automating your tests with the least effort. And we hope this Rapise Automation tool tutorial has helped you understand how to use the tool effectively. Being a pioneer in the software testing field, we will be updating such informative content on a regular basis. So make sure to subscribe to our newsletter to keep up with our latest content.
Comments(0)