Learn And Go

Rapise's unique Learn and Go testing method is much more time efficient than traditional record-and-playback + edit processes. Objects are edited during the learning process instead of waiting for all objects to be recorded then edited. The test script is generated (with parameterized values) as you go. Faster, more complete test script generation and automatic script updates significantly reduces testing time and gets your application to market faster.

The Power of Learning Objects

Objects are the controls and items on the screen of the AUT. "Learning" an object refers to the process of Rapise collecting enough information about the on-screen item to be able to reference the item when the test script is run without ambiguity and regardless of its location on the UI.


When Rapise "learns" an object, it records the object's type, its name and how to find the object again (locator). It saves everything it learns to the script so that the object can be identified when the test is run. Rapise gives the object a simple name so that you can easily refer to it later if you decide to modify the script.

Key features of Learning Objects with Rapise:

  • Alternative to traditional recording that is quicker and easier for developers
  • Supports verifying objects using multiple technologies at same time (Web, Flex, Java, etc.)
  • Objects stored in freetext JSON file that can be easily adjusted if necessary
  • Learning objects allows reuse across tests and recordings
  • Can build a master set of learned objects that can be scripted against by different teams

Learning during Recording

During a Recording session, Rapise learns about each object with which you interact, so even when you are recording user actions, you still get the benefit of the Learn and Go approach:


Each of the objects that are interacted with will be captured and stored in the central Rapise object repository. You can then use these same objects for further recording or for scripting against using the Rapise editor.

Explicitly Learning Objects

You can Learn Objects in an application en masse by placing your mouse over the object you wish to learn and pressing CTRL+2; it should become surrounded by a red box signifying that it has been learned.


You will see a new entry in the recording activity dialog, signifying that the object was learned:


Everything Rapise learns about an object is saved in its object repository so that it can be accessed in the scripting environment. The following shows an example of what Rapise will store about an object:

Please_enter_your_name_:{

"locations": [

{

"locator_name": "Location",

"location": {

"location": "4.4",

"window_name": "param:window_text",

"window_class": "param:window_class"

}

}

],

"window_text": "Inflectra Rapise Two Dialogs Sample",

"window_class": "#32770",

"object_text": "Chris",

"object_role": "ROLE_SYSTEM_WINDOW",

"object_class": "Edit",

"object_name": "Please enter your name:",

"version": 0,

"object_type": "Win32Text",

"object_flavor": "Text",

"object_library": "Generic"

},

...

Learning Multiple Technologies

You can harness the power of Rapise’s Learn and Go approach when testing multiple technologies in the same application. For example, you can have an HTML web page that contains Java applets and native web controls and Rapise can learn all of the objects on the same page at the same time:


The test case developers using the scripting environment don’t need to worry about the details of each technology, they can use the standard Rapise object repository to interact with them without having to understand the specifics of each technology used.

Try Rapise free for 30 days, no credit cards, no contracts

Start My Free Trial

And if you have any questions, please email or call us at +1 (202) 558-6885