If you used the methods described in the entry, “Rapise - learning through doing” you are over 90% of the way there. You will have learned objects and a created well structured test to perform the actions previously recorded. If you followed one of the other methods, you will need to think out your plan for flow, data, expectations, and process.
We would recommend, for your first tests, that you learn the objects and actions using the native recordings. Yes, there can be a good case made for each of the other types of learning, but they do not provide the illustration on how to manipulate a test to your plan. Once this test recording is made there are several standard parts of the file structure.
The structure is one based on folder and file. The main folder contains the name of the test, several files which make up the definition of the objects learned (objects.js), the definition of the use case, and definitions provided by the user:
On the left side of Rapise, by default you are dropped into the Object tree. In this view you can expand on any of the objects within the application that you have learned. Each of those objects will have a name, and if you expand them it will also have a set of actions which can be performed:
At each action you will see a description and a command, something like this…
//Press button '1'
The line starting with the “//” is the description of the step and should match up to the action performed. The next line is the command that actually performs the action. We won't go too deep here but we will explain the parts.
These steps can be reordered, changed, and modified by simply editing this .js file. There are lots of different actions available to the test developer as they develop skill in using Rapise. One can make a number of validations or interactions to meet the requirements of the test plan.
Without altering the test, you should be able to just click on the “Play” button to run your test. Watch how it interacts with your application. Once it is finished you will be taken to the report page. For now disregard the report and select the test file again. Make a few modifications by copying and pasting code around, you can alter the flow of the recording and playback. Run the test again and review the differences.
Here we are just starting with Rapise, there are many more things to learn. In the next several articles we will explore more in depth analysis of how alterations are made and start building more complex interactions.
Our mission to helping our customers - large corporations, small businesses, professional services firms, government agencies and individual developers – with the means to effectively and affordably manage their software development and testing lifecycles, so as to decrease the time to market and increase return on investment.
At Inflectra, we are fully committed to provide our customers with the very best products and customer service. We believe in going the extra mile to ensure that each customer is satisfied with our software products. We have the experience and the commitment to deliver the products customers need to deliver their projects and assure quality every step of the way. (Learn More)
We are so confident that you will be fully satisfied with our products that we offer a 30-day, unconditional, money back guarantee! (Learn More)