check column header name
Check the header value of a column against an expected value. Result is Passed if the two values match each other, otherwise Failed.
Name | Description | Type | Modifier |
---|---|---|---|
window | TA name of the window. | Interface Entity | None |
control | TA name of the control. | Interface Element | None |
index | Column number of the cell. (Column numbers start at 1) | String | None |
expected | Expected value. | String | None |
Result is Passed if the two values match each other, otherwise Failed.
This action may be used within the following project items: test modules and user-defined actions.
This action is applicable to the following controls: table, list view, tree table, tree list.
interface
use interface Car Rental
 
window control index expected
check column header name view orders orders table 1 ID
check column header name view orders orders table 3 First Name
- The expected argument can accept regular expressions. Note that argument values that include regular expressions must be entirely enclosed in curly braces {}. As an example,
{[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}}
specifies the pattern for an acceptable email address. More simply,.*
represents the general wildcard for regular expressions, so that{.*arch.*}
matchesstarch
,marching
,testarchitect
, etc. - This action supports the <ignore> modifier. If the string
<ignore>
is present as the value of any of the arguments, or any argument contains an expression that evaluates to<ignore>
, the action is skipped during execution. - For
oracle.apps.jtf.table.AccessibleTableGrid
: The get column header name and check column header name built-in actions return an empty value.