Troubleshooting data injection

This section describes troubleshooting and limitations for data injection.

  • Data injection may not work with all technologies.

  • Data injection files do not support Unicode.

  • If data injection cannot identify the matching field in the application, the data will not be injected.

  • When loading data from a CSV file in a non-English operating system in which the separator is not a comma, all data appears in a single column. For example, in German Windows 7, the default separator, a semicolon, is ignored.
    Workaround: Change the default separator in your locale to a comma. Select Control Panel > Regional and Language > Additional Settings. Change the List separator value to a comma.

  • In the grid within the Data Injection sidebar, the following characters are not displayed if they appear in the column headers of a data set: [ ] { } / \ , ( ). This only affects the display—data injection can still identify the matching field.

  • When working with data injection files, in HTML pages where the labels are simple text nodes and not Web elements, the data injection mechanism will not be able to identify the label text.
    Workaround: Use :ToName:<Editbox_name>

  • When manually mapping fields in a SapGuiArea, you cannot highlight individual objects.
    Workaround: Click the desired object with left mouse button. Sprinter now maps this object correctly.

  • To use Data Injection for selecting a radio button in your application:

    1. Click the radio button into which you want to inject data while running a test with Sprinter in Power Mode.
    2. Open the User Actions window and look at the user action that was recorded.
    3. If the user action describes the radio button as part of a radio group:
      • Manually map the header in the DI file to the radio button in the application.

        Note: In certain instances, manual mappings only highlight the selected radio button even if you selected other radio buttons in the group.

      • In the data injector file, set the value that appeared in the user action description as the value for the injection.
    4. If the user action describes the radio button as a separate action and not part of a radio group:

      • Specify the field name of the radio button as the column header.
      • To define the radio button as selected, enter a data value as either "On" or "True".
  • For best results while manual mapping (Web applications only), make sure you are viewing the page at 100% otherwise, Sprinter might not recognize your objects in the correct location. For example, if you view the page at 90% or 120%, you may be required to select an area to the left or the right of the actual object for Sprinter to recognize it.