Using the Image Objects Tool

The Configure Image Object Definitions tool allows you to define certain types of Silverlight and PRIMO graphical objects that can not be discovered with LiveTouch. A graphical object is an object that is defined by a collection of one or more graphical images in an application window.

This tool can be used to define images to represent the following:

The Configure Image Object Definitions tool uses Optical Character Recognition to scrape text from images when appropriate. For example, this tool retrieves the text from a TextBox.

In order to use image objects with LiveTouch, you must select one of the following options in the Options tab within Certify Silverlight Learn:

  • Use Image Objects during LiveTouch
  • Use PRIMO during LiveTouch

To define Button objects:

  1. Open the application in which you need to learn a graphical object.
  2. From the Certify menu, select Configure > Interfaces > Image Objects.

    The Configure Image Object Definitions tool opens.

  3. Click the New Definition button.

    The Image Object Definition Editor appears.

  4. In the Definition Name field, type in a name for your definition.
  5. In the Definition Description field, type in a description for your definition.
  6. From the Template Name drop-down list, select Button - Book End.

    The Template Description field describes how you will be identifying the button and the naming convention. You will need to create two bookends to create your definition.

  7. In the Image Sets field, enter a name for the image set.

  8. Click New.

    If you need to rename an image set, enter the new name and click Rename.

  9. Verify that the Enabled for Certify LiveTouch option is selected.

  10. Select the 1 option in the middle pane.

    In the Instructions section of the right pane, you are instructed to select an image containing the left end of the button.

  11. From the Region menu, click the Capture Image button.

    You will now create an image that contains the left bookend. After you click the button, you are able to highlight the image.

  12. Place your mouse over the application and create a rectangle image that includes the left bookend.

    After you release your mouse, the image appears in the Region tab.

  13. If you need to trim your image, use the Trim tools.

    Trim your image if you captured text and other objects.

  14. To test your image, click the Find Matches tool.

    The application highlights the areas that match the image.

  15. If you are satisfied with the match, click the Accept Image button.

    If you need to redo the image, click the Discard Image button.

    If you accepted the image, the 2 option is highlighted in the middle pane.

  16. Repeat Steps 11 through 15 for the right end of the button.

  17. If you want to add Optical Character Recognition (OCR) text, click the OCR Text tab and enter text in the Expected text field.
  18. If you want to view the details and image set, click on the respective tabs.

    After you have accepted both images, you will need to test the images.

  19. Click the Outer Box Test button to verify that the images you created are included in the highlighted area.
  20. Click the LiveTouch Test button to show the highlighted area of the button that you must select when you use LiveTouch to capture the button image.

    The two images you created will not be included in the highlighted area of your application.

  21. To save the definition, click OK.

    The Button definition appears in the Definitions pane of the Define Image Objects tool.

  22. To test the definition and simulate LiveTouch, click the Find Object with LiveTouch Point button.

  23. Hover over the object in the application that matches your definition, and press the <Ctrl> key.

    If there is a match, the definition will be highlighted in the Definitions pane, and the Definition Layout section displays the template.

  24. After you have completed the test, click Save and Close.

    You are now able to use this definition in a process using LiveTouch.

To define Image objects:

  1. Open the application in which you need to learn a graphical object.
  2. From the Certify menu, select Configure > Interfaces > Image Objects.

    The Configure Image Object Definitions tool opens.

  3. Click the New Definition button.

    The Image Object Definition Editor appears.

  1. In the Definition Name field, type in a name for your definition.
  2. In the Definition Description field, type in a description for your definition.
  3. From the Template Name drop-down list, select Image - Simple.

    The Template Description field describes how you will be creating a definition for a single image.

  4. In the Image Sets field, enter a name for the image set.

  5. Click New.

    If you need to rename an image set, enter the new name and click Rename.

  6. Verify that the Enabled for Certify LiveTouch option is selected.

  7. Select the 1 option in the middle pane.

    In the Instructions section of the right pane, you are instructed to select an image.

  8. From the Region menu, click the Capture Image button.

    You will now select an image for your definition. After you click the button, you are able to highlight the image.

  9. Place your mouse over the application and select an image.

    After you release your mouse, the image appears in the Region tab.

  1. If you need to trim your image, use the Trim tools.

    Trim your image if you captured text and other objects.

  2. If you want to add Optical Character Recognition (OCR) text, click the OCR Text tab and enter text in the Expected text field.
  3. If you want to view the details and image set, click on the respective tabs.

  4. To test your image, click the Find Matches tool.

    The application highlights the areas that match the image.

  5. If you are satisfied with the match, click the Accept Image button.

    If you need to redo the image, click the Discard Image button.

    After you have accepted the image, the middle pane displays the content of the image.

  6. To test the image, click the LiveTouch Test button to show the highlighted area of the button that you must select when you use LiveTouch to capture the image.

    The image appears in the highlighted area of your application.

  7. To save the definition, click OK.

    The Image definition appears in the Definitions pane of the Define Image Objects tool.

  8. To test the definition and simulate LiveTouch, click the Find Object with LiveTouch Point button.

  9. Hover over the object in the application that matches your definition, and press the <Ctrl> key.

    If there is a match, the definition will be highlighted in the Definitions pane, and the Definition Layout section displays the template.

  10. After you have completed the test, click Save and Close.

    You are now able to use this definition in a process using LiveTouch.

To define TextBox objects:

  1. Open the application in which you need to learn a graphical object.
  2. From the Certify menu, select Configure > Interfaces > Image Objects.

    The Configure Image Object Definitions tool opens.

  3. Click the New Definition button.

    The Image Object Definition Editor appears.

  1. In the Definition Name field, type in a name for your definition.
  2. In the Definition Description field, type in a description for your definition.
  3. From the Template Name drop-down list, select Text Box - Text Region.

    The Template Description field describes how you will be creating a definition for an image in order to find a specified location on the screen.

  4. In the Image Sets field, enter a name for the image set.

  5. Click New.

  6. If you need to rename an image set, enter the new name and click Rename.

  7. Verify that the Enabled for Certify LiveTouch option is selected.

    In the middle pane, it shows that you will need to create two images for this definition.

  8. Select the 1 option in the middle pane.

    In the Instructions section of the right pane, you are instructed to select an image that will be used to locate a position on the screen.

  9. From the Region menu, click the Capture Image button.

    You will now select an image for your definition. After you click the button, you are able to highlight the text image.

  10. Place your mouse over the application and select an image. This image acts like an anchor.

    After you release your mouse, the image appears in the Region tab.

  1. If you need to trim your image, use the Trim tools.

    Trim your image if you captured text and other objects.

  2. To test your image, click the Find Matches tool.

    The application highlights the areas that match the image.

  3. If you are satisfied with the match, click the Accept Image button.

    If you need to redo the image, click the Discard Image button.

    After you have accepted the image, the middle pane displays the content of the image.

  4. Select 2 in the middle pane.

    In the instructions in the right pane, you are instructed to select an offset region where interactions will occur. The contained image is ignored.

  5. Repeat Steps 12 through 16 for the second image.

    After you have accepted the image, the middle pane displays the content of the image.

  6. If you want to add Optical Character Recognition (OCR) text, click the OCR Text tab and enter text in the Expected text field.
  7. If you want to view the details and image set, click on the respective tabs.

  8. To test this image, click the Outer Box Test button to verify that the images you created are included in the highlighted area.

  9. Click the LiveTouch Test button to show the highlighted area of the button that you must select when you use LiveTouch to capture the image.

    The image appears in the highlighted area.

  10. To save the definition, click OK.

    The Image definition appears in the Definitions pane of the Define Image Objects tool.

  11. To test the definition and simulate LiveTouch, click the Find Object with LiveTouch Point button.

  12. Hover over the object in the application that matches your definition, and press the <Ctrl> key.

    If there is a match, the definition will be highlighted in the Definitions pane, and the Definition Layout section displays the template.

  13. After you have completed the test, click Save and Close.

    You are now able to use this definition in a process using LiveTouch.

 

Related Topics Link IconRelated Topics