IncludeNestedWebTablesInPosition

Top  Previous  Next

×V4.2Ø

S

A

W

WS

ü

Valid for: SetStartup & SetRuntime

 

Syntax -

       SetStartup IncludeNestedWebTablesInPosition {"Yes" | "No"}

 

Description:

When using the GetWebElementFromContainer command, this setting configures whether nested tables (and their rows and columns) are included in counts.  Consider the following table (pictured below).  The outer table has two rows and four columns.  There are two additional tables embedded within this table, each having two rows and two columns.  When attempting to identify the button shown in the table using GetWebElementFromContainer, the value specified by IncludeNestedWebTablesInPosition will affect the row and column count.

If IncludeNestedWebTablesInPosition is set to yes, then in order to determine the row and column for the button within the table, the nested tables must be counted as well.  In this case, the button's position would be row 1 column 4 because there are two extra columns from the nested table in the cell to the left of the button.

If IncludeNestedWebTablesInPosition is set to no, then the nested tables are ignored and the button's position is row 1 column 3.  This is probably the more intuitive way to count fields.






Button









The default value is Yes in order to maintain backward compatibility.

 

Sample:

       The following command instructs EMUE to not include nested web tables when counting for the GetWebElementFromContainer command.

SetStartup IncludeNestedWebTablesInPosition "No"

 

See Also:

SetRuntime

GetWebElementFromContainer