How to test multiple conditions on a Boundary Object in PIOE/VDE

print

 

The boundary object will have two TESTs conditions, on the area of interest the TESTs will match different text conditions located on the same location. The action block will be executed if either one of the test conditions is true.


Example:

[OBJECT_BOUNDARY_NAME] OBJECT BOUNDARY SCAN0
    BEGINWINDOWX 0  BEGINWINDOWY 0
    ENDWINDOWX 0 ENDWINDOWY 0  
 
        TEST
           [TEST_BOUNDARY_PAGE_1_OF] OR [TEST_BOUNDARY_PAGINA_1_DE]
        ACTION
//Actions   
;

[
TEST_BOUNDARY_PAGE_1_OF] TEST TEXT1 MATCHES "Page 1 of ";
[TEST_BOUNDARY_PAGINA_1_DE] TEST
TEXT1 MATCHES "Página 1 de ";

A single test can be coded using a regular expression, the test condition w
ill check for either value;  regular expressions should be added in the parent object.

Example:
[TEST_BOUNDARY_PAGE] TEST TEXT1 MATCHES " Página 1 de | Page 1 of ";

[PARENT_NAME] PARENT VDEOPTIONS REGULAREXPRESSIONS [OBJECT_BOUNDARY_NAME


 

UPDATED: March 24, 2017

Contact Us