Frequently Asked Questions
Rapise Product Box

Rapise Frequently Asked Questions (FAQs)

Rapise® is a Windows® application which you install locally on your workstation to perform automated functional testing of applications and web sites.

This section provides answers to some of the most frequently asked questions by our prospective customers. The FAQs are grouped in several categories to make finding the answers easier:

Installer Questions

  1. What should I do if I get an installation error?
  2. Does Rapise work with Windows UAC?

Recorder Questions

  1. The Recorder asks for a Library. Which should I choose?
  2. Why is My Activity is not recorded?
  3. Why is the Context Menu not recorded?
  4. Why is My Flex application recorded as mouse clicks?

Web Recording Questions

  1. How to learn XPATH and how to use it in locators?

Scripting Questions

  1. How does Rapise detect if a dialog is already open?
  2. How do we comment out lines or a block of code within a script?
  3. How are global functions stored and recalled? We need to call many common functions from a common library frequently.
  4. When in the Debugger, how to see a call stack to review the overall hierarchy?


Installation Questions

  1. What should I do if I get an installation error?
    Rapise is a complex product with many external dependencies. Many dependencies are related to specific application types. We are working on resolution of external errors. So whenever you see an installation error (or an application error for that matter) please follow these steps:

    1. See if the error has been discussed in the Rapise forums.

    2. Record a copy of the error message and file a help desk ticket with Inflectra support.

  2. Does Rapise work with Windows UAC?

    If you are using Rapise on Windows Vista or Windows 7 it is not necessary to disable the Windows User Account Control (UAC) to use Rapise. Unlike some other automated testing tools on market, you can use Rapise with UAC enabled.


Recorder Questions

  1. The Recorder asks for a Library. Which should I choose?
    In most cases "Auto" is the best choice. Manual selection of libraries may be needed in more advanced scenarios and is intended for experienced users.
  2. Why is My Activity is not recorded?
    See the My Actions are Not Recorded guide.
  3. Why is the Context Menu not recorded?
    In most cases context menu appears as a result of mouse right-click. See Recording Mouse Activity to learn more about mouse recording.
  4. Why is My Flex application recorded as mouse clicks?
    A Flex application requires some instrumentation to be ready for testing. By default Flash player has security restrictions preventing Rapise from accessing the application contents. Please, check the this help topic to learn more about Adobe Flex testing.

Web Recording Questions

  1. How to learn XPATH and how to use it in locators?
    Every element on web page may be accessed using proper XPATH statement. See Working with XPath for more information.

Scripting Questions

  1. How does Rapise detect if a dialog is already open?

    There are several ways to find if something is already on the screen.

    First:

    Global.DoWaitFor(object_id, nnn);

    -- Function may be used to wait for some object or to find an object. See Global.DoWaitFor.

    So if you have some object (such as text label, button and so on) available for the current dialog you may 'wait' for it for small amount of time. If it is not found the the dialog does not exist. For example:

    if(Global.DoWaitFor('Confirm_Label',1000)){ ...}

    Second: Use internal API available through g_util object:

    var found = g_util.FindWindows('Error Message', 'regex:.*'); if(found.length==1) { // Actions if the window is found }
  2. How do we comment out lines or a block of code within a script?

    There are two types of comment blocks available in Rapise:

    Single-line comments:

    //commented line

    Multi-line comments:

    /* ... Large comment block ... */
  3. How are global functions stored and recalled? We need to call many common functions from a common library frequently.

    One may use a variation of the 'include' directive anywhere in Rapise. There are a number of ways to deal with common functionality.

    a) One may store utility functions in a single javascript file and include this file into all his tests.

    See the including other files help topic.

    b) It is possible to share common objects and utility functions between tests using the notion of sub-tests.

    See the tests and sub-tests help topic.

    c) It is possible to call one test from another test using Global.DoInvokeTest function.

  4. When in the Debugger, how to see a call stack to review the overall hierarchy?
    Check the 'Variables' tab. It contains the combined view. Call stack with local variables. Top level nodes are parts of the execution call stack. Once expanded the local variables for given call stack item is shown. For more details see the variable call stack view help topic.

Have Questions?

You can contact us at:

1-866-572-5878 (toll free)
+1-202-558-6885 (outside US)
9:00 - 5:00 ET Monday - Friday

sales@inflectra.com

Our Guarantee

We are so confident that you will be fully satisfied with Rapise that we offer a 30-day, unconditional, money back guarantee!

> Read our guarantee...