|Top Previous Next|
Rapise includes several sample tests that you are free to read, modify, copy and use. They are located in: RapiseDirectory\Samples. Unless you specified otherwise, RapiseDirectory should be:
The sample tests are described below.
This sample demonstrates Analog Recording.
A simple recorded test is modified to run on both Firefox and Internet Explorer. Read the Cross Browser Testing HowTo for more details.
This sample tests a .NET 2.0 application. This sample demonstrates the capabilities of the .NET library. The application under test contains various standard GUI controls, such as: button, edit, tree, combo box, menu, etc.
This sample tests a Java AWT/SWING application. This sample demonstrates the capabilities of the Java library. The application under test contains various standard GUI controls, such as: button, edit, tree, combo box, menu, etc.
Library Information System
These tests can be used to test the sample library information system web application hosted at http://www.libraryinformationsystem.net. This is the same sample application used by SpiraTest and illustrates how you can use SpiraTest to manage and execute automated Rapise tests. A copy of these tests is also available in new installations of SpiraTest v3.2+.
This sample tests a .NET 2.0 application. This sample demonstrates the capabilities of the Managed library. The application under test contains various standard GUI controls, such as: button, edit, tree, combo box, grid, listbox, listview, menu, etc.
This sample opens MS Paint and draws on its canvas. It uses Simulated Objects and several related methods: DoMouseMove(X,Y), DoLButtonDown(), DoLButtonUp(), and DoSendKeys(text).
This sample tests an MFC application. You will also learn how to organize your test script in modular form, how to launch the AUT from your test script and how to execute various actions on GUI controls.
This sample shows how to unit test managed DLLs. You'll see how to use methods CreateClassInstance() and InvokeMember().
This sample shows how to unit test unmanaged DLL code. You'll learn how to register (UserWrap.Register) and execute (UserWrap.ShellExecute) a function.
This example shows how to create image checkpoints.
This sample demonstrates two ways to include external files/functions:
UsingMSAccess, UsingMSExcel, UsingMSWord
These samples demonstrate how you can work with Microsoft Word, Excel, and Access from scripts. You'll learn how to test applications that expose a COM interface.
This sample demonstrates usage of the windows registry. The registry is queried to determine the OS (XP/2003/Vista, etc) and owner.
This sample illustrates various reporting features:
This example shows how you can use Excel spreadsheets to create Data-Driven tests. This script reads test case data from an XLS spreadsheet to test Calculator.
This sample demonstrates how to read, modify and write XML files.