January 22nd, 2015 by inflectra
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:
In the main area, editor, of Rapise, you should see some code that defines the actions you have performed while recording. We suggest studying this as it will assist you in understanding the syntax of a test and will allow you to do much more in the future. The code is a variant of JavaScript (technically Microsoft JScript) and can be manipulated by hand with intellisense and code folding provided by Rapise.
At each action you will see a description and a command, something like this…
//Press button '1'
SeS('_1').DoAction();
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.
Ask an Inflectra expert:
And if you have any questions, please email or call us at +1 (202) 558-6885
SpiraTest combines test management, requirements traceability & bug-tracking
SpiraTeam brings your teams together, managing the entire application lifecycle
SpiraPlan lets you manage your programs and portfolio of projects like never before
Orchestrates your automated regression testing, functional, load and performance
The ultimate test automation platform for web, mobile, and desktop applications
The help desk system, designed specifically for software support teams
Cloud hosted, secure source code management - Git and Subversion
Exploratory testing capture tool that automatically records your testing activity
Let us deal with the IT pain so you don't have to. Or use on-premise if you prefer.
Our customers work in every industry imaginable. From financial services to healthcare and biotech to government and defense and more, we work with our customers to address their specific needs.
Our products do not enforce a methodology on you, instead they let you work your way. Whether you work in agile development, Scrum, XP, Kanban and Lean, Waterfall, hybrid, or Scaled Agile Inflectra can help.
If you want to learn more about application delivery, testing, and more take a look at our whitepapers, videos, background papers, blog, and presentations.
Our suite of Accelerators speed up your deployment and adoption of our products, increasing your return on investment and reducing the cost of ownership.
We collaborate with a wide range of teams to bring our customers a range of services (including load testing, training, and consultation), complimentary technologies, and specialized tools for specific industries.
Learn how different organizations have benefited from using Inflectra products to manage their software testing and application develooment.
Outstanding support is the foundation of our company. We make support a priority over all other work. Take a look at our support policy.
Discover great tips, discussions, and technical solutions from fellow customers and Inflectra's technical experts.
If you can't find the answer you're looking for, please get in touch with us: over email, phone, or online.
We are constantly creating new videos to help customers learn about our products, including through in depth webinars, all freely available along with a wide selection of presentations.
We provide a number of resources to help customers learn how to get the most out of our products, with free online resources, virtual classrooms, and face to face.
Read about Inflectra, our manifesto, and values. Meet our incredible customers who are building awesome things, and our leadership team that are committed to building a great company.
The Inflectra Blog contains articles on all aspects of the software lifecycle.
In addition we have whitepapers,
background articles, videos and
presentations to help get you started.
Events are a big part of our awesome customer service. They are a chance to learn more about us, our products, and how to level up your skills with our tools.
We partner with educational institutions and individuals all over the world. We are also a great place to work and encourage you to explore joining our team.
Please contact us with your questions, feedback, comments, or suggestions. We'll get back to you as soon as possible.
When you need additional assistance (be it training, consulting, or integration services) our global certified solution provider partner network is ready to help.
At Inflectra, we are fully committed to provide our customers with the very best products and customer service. Check out some of our recent awards.
We want to help developers extend and customize our tools to fit in with their needs. We provide robust APIs, sample code, and open source projects.