|
FRM v1.4.2 |
||||||||
PREV SCRIPT NEXT SCRIPT | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | FUNCT | DETAIL: FIELD | CONSTR | FUNCT |
CompiledModule | +--emos_frm_gui_lib
This library implements the "essence" of EMOS test design strategy. It provides "wrappers" for most frequently used "standard" functions such as edit_set(), list_select_item(), etc. The main point with this wrapper- functions is that they natively interface the low-level FRM-functions and, most of all, transparently implement the notion of SET/CHK/ATR/GEN mode for each function.
Function Summary | |
protected String |
FRM_ATR_button_press(in table,
in test,
in object)
|
protected String |
FRM_ATR_button_set(in table,
in test,
in object)
|
protected String |
FRM_ATR_edit_set(in table,
in test,
in object)
|
protected String |
FRM_ATR_list_select_item(in table,
in test,
in object)
|
protected String |
FRM_ATR_obj_type(in table,
in test,
in object)
|
protected String |
FRM_ATR_static_get(in table,
in test,
in object)
|
protected String |
FRM_ATR_tab_select_item(in table,
in test,
in object)
|
protected String |
FRM_ATR_win_type(in table,
in test,
in window)
|
String |
FRM_button_press(in table,
in test,
in object)
A standard "wrapper" for button_press() function. |
String |
FRM_button_set_JaNein(in table,
in test,
in jaObject,
in neinObject)
German version of FRM_button_set_YesNo. |
String |
FRM_button_set_YesNo(in table,
in test,
in yesObject,
in noObject)
Convenience function for GUI constructs consisting of two radio buttons where one stands for "yes" and the other one for "no". |
String |
FRM_button_set(in table,
in test,
in object)
A standard "wrapper" for button_set() function. |
protected String |
FRM_CHK_button_set_JaNein(in table,
in test,
in jaObject,
in neinObject)
|
protected String |
FRM_CHK_button_set(in table,
in test,
in object)
|
protected String |
FRM_CHK_edit_set(in table,
in test,
in object)
|
protected String |
FRM_CHK_list_select_item(in table,
in test,
in object)
|
protected String |
FRM_CHK_list_select_multi_items(in table,
in test,
in object)
|
protected String |
FRM_CHK_obj_type(in table,
in test,
in object,
in suffix)
|
protected String |
FRM_CHK_radio_button_set(in table,
in test,
inout[] objArr)
|
protected String |
FRM_CHK_static_get(in table,
in test,
in object)
|
protected String |
FRM_CHK_tab_select_item(in table,
in test,
in object)
|
protected String |
FRM_CHK_win_type(in table,
in test,
in window,
in suffix)
|
String |
FRM_edit_set(in table,
in test,
in object)
A standard "wrapper" for edit_set() function. |
protected String |
FRM_GEN_button_press(in table,
in test,
in object)
|
protected String |
FRM_GEN_button_set_JaNein(in table,
in test,
in jaObject,
in neinObject)
|
protected String |
FRM_GEN_button_set(in table,
in test,
in object)
|
protected String |
FRM_GEN_edit_set(in table,
in test,
in object)
|
protected String |
FRM_GEN_list_activate_item(in table,
in test,
in object)
|
protected String |
FRM_GEN_list_select_item(in table,
in test,
in object)
|
protected String |
FRM_GEN_list_select_multi_items(in table,
in test,
in object)
|
protected String |
FRM_GEN_menu_select_item(in table,
in test)
|
protected String |
FRM_GEN_menu_select_item1(in table,
in test)
|
protected String |
FRM_GEN_obj_type(in table,
in test,
in object,
in suffix)
|
protected String |
FRM_GEN_obj_wait_info(in table,
in test,
in object,
in attr)
|
protected String |
FRM_GEN_radio_button_set(in table,
in test,
inout[] objArr)
|
protected String |
FRM_GEN_static_get(in table,
in test,
in object)
|
protected String |
FRM_GEN_tab_select_item(in table,
in test,
in object)
|
protected String |
FRM_GEN_toolbar_button_press(in table,
in test,
in object)
|
protected String |
FRM_GEN_win_type(in table,
in test,
in window,
in suffix)
|
String |
FRM_is_case_sensitive()
Returns the state of comparison indicator. |
String |
FRM_list_activate_item(in table,
in test,
in object)
A standard "wrapper" for list_activate_item() function. |
String |
FRM_list_select_item(in table,
in test,
in object)
A standard "wrapper" for list_select_item() function. |
String |
FRM_list_select_multi_items(in table,
in test,
in object)
A standard "wrapper" for list_select_multi_items() function. |
String |
FRM_menu_select_item(in table,
in test,
in timeout)
A standard "wrapper" for menu_select_item() function. |
String |
FRM_menu_select_item1(in table,
in test,
in timeout)
The new "wrapper" for menu_select_item() function. |
String |
FRM_obj_type(in table,
in test,
in object,
in suffix,
in force_suffix)
A standard "wrapper" for obj_type() function. |
String |
FRM_obj_wait_info(in table,
in test,
in object)
We implement here our own equivalent of obj_wait_info(). |
String |
FRM_radio_button_set(in table,
in test,
inout[] objArr)
Convenience function for a group of related radio buttons. |
protected String |
FRM_SET_button_press(in table,
in test,
in object)
|
protected String |
FRM_SET_button_set_JaNein(in table,
in test,
in jaObject,
in neinObject)
|
protected String |
FRM_SET_button_set(in table,
in test,
in object)
|
String |
FRM_set_case_sensitive(in m)
Sets a generic indicator wheter to perform case-sensitive comparison or not. |
protected String |
FRM_SET_edit_set(in table,
in test,
in object)
|
protected String |
FRM_SET_list_activate_item(in table,
in test,
in object)
|
protected String |
FRM_SET_list_select_item(in table,
in test,
in object)
|
protected String |
FRM_SET_list_select_multi_items(in table,
in test,
in object)
|
protected String |
FRM_SET_menu_select_item(in table,
in test,
in timeout)
|
protected String |
FRM_SET_menu_select_item1(in table,
in test,
in timeout)
|
protected String |
FRM_SET_obj_type(in table,
in test,
in object,
in suffix,
in force_suffix)
|
protected String |
FRM_SET_obj_wait_info(in table,
in test,
in object,
in poll_sec,
in poll_msec)
|
protected String |
FRM_SET_radio_button_set(in table,
in test,
inout[] objArr)
|
protected String |
FRM_SET_static_get(in table,
in test,
in object)
|
protected String |
FRM_SET_tab_select_item(in table,
in test,
in object)
|
protected String |
FRM_SET_toolbar_button_press(in table,
in test,
in object)
|
protected String |
FRM_SET_win_type(in table,
in test,
in window,
in suffix,
in force_suffix)
|
String |
FRM_static_get(in table,
in test,
in object)
A standard "wrapper" for static_get_text() function. |
String |
FRM_tab_select_item(in table,
in test,
in object)
A standard "wrapper" for tab_select_item() function. |
String |
FRM_toolbar_button_press(in table,
in test,
in object)
A standard "wrapper" for toolbar_button_press() function. |
String |
FRM_win_type(in table,
in test,
in window,
in suffix,
in force_suffix)
A standard "wrapper" for win_type() function. |
Function Detail |
public String FRM_set_case_sensitive(in m)
m
- (in) mode, TRUE or FALSE [default: TRUE]public String FRM_is_case_sensitive()
public String FRM_win_type(in table, in test, in window, in suffix, in force_suffix)
FRM-GUI-TYPE: navigation (read-only)
TEST DATA FORMAT: String containing value to be typed.
SET-MODE: The function uses the value from the data table as a second parameter to the win_type() function.
CHK-MODE: Not supported for type: navigation! We could retrieve some text from the window and compare it. In practice is this rather useless because there is either too much or no text all. For testing win_type() is normally only useful to check keyboard navigation or when you have no other chance (e.g. DOS applications). In the second case you would use the SET mode to completely drive the application (i.e. navigate and enter date) but you could hardly be able to check anything. There is some chance if font is known, so you could try with win_get_text() and the like. Behaves the same as the SET-mode!
ATR-MODE:
Checks the content of the specified window attributes using win_check_info().
Attribues are specified in pairs attribute:value
. If more than
a single atribute needs to be checked, each pair must be separated with a
newline character (in Excel: Alt-Return).
GEN-MODE: Not supported for type: navigation! Ignores the cell (i.e. skips the cell).
table
- (in) table nametest
- (in) test name (column)window
- (in) GUI-window where actions are to be performedsuffix
- (in) (optional) as string which ia automatically appended to any
value.force_suffix
- (in) (optional) set this to TRUE if you want the <suffix> to
be typed even if no value present.
protected String FRM_SET_win_type(in table, in test, in window, in suffix, in force_suffix)
protected String FRM_CHK_win_type(in table, in test, in window, in suffix)
protected String FRM_ATR_win_type(in table, in test, in window)
protected String FRM_GEN_win_type(in table, in test, in window, in suffix)
public String FRM_obj_type(in table, in test, in object, in suffix, in force_suffix)
FRM-GUI-TYPE: data-entry (read/write)
TEST DATA FORMAT: String containing value to be typed or checked.
SET-MODE: The function uses the value from the data table as a second parameter to the obj_type() function.
CHK-MODE: The function compares the value from the data table with the value returned by obj_get_text(). Please note that comparison is case-sensitive.
ATR-MODE:
Checks the content of the specified object attributes using obj_check_info().
Attribues are specified in pairs attribute:value
. If more than
a single atribute needs to be checked, each pair must be separated with a
newline character (in Excel: Alt-Return).
GEN-MODE: Uses obj_get_text() to retrieve the content of the <object>. Note that that no conversion takes place before generating the test data.
table
- (in) table nametest
- (in) test name (column)object
- (in) GUI-object where actions are to be performedsuffix
- (in) (optional) as string which ia automatically appended to any
value.force_suffix
- (in)(optional) set this to TRUE if you want the <suffix> to
be typed even if no value present.
protected String FRM_SET_obj_type(in table, in test, in object, in suffix, in force_suffix)
protected String FRM_CHK_obj_type(in table, in test, in object, in suffix)
protected String FRM_ATR_obj_type(in table, in test, in object)
protected String FRM_GEN_obj_type(in table, in test, in object, in suffix)
public String FRM_obj_wait_info(in table, in test, in object)
FRM-GUI-TYPE: navigation (read-only)
TEST DATA FORMAT:
String containing formated value |reg.exp|attribute|time[|exact]
.
The string starts with the separator (in our example | but you can use any
character as long as it only occurs in specified positions). reg.exp
is the regular expression to be waited for. attribute
is the
attribute which conten is being waited for. time
is the number
of seconds to be waited for. exact
true/false flag indicating
whether an exact (1) or a tollerant match (0) is wanted. This ais an optional
parameter. By default the tollerant match is performed.
SET-MODE: The function parses the value from the data table and waits for the given value to appear.
CHK-MODE: the same as in SET mode
ATR-MODE: the same as in SET mode
GEN-MODE: Generates a dummy template of the formated string
table
- (in) table nametest
- (in) test name (column)object
- (in) GUI-object where actions are to be performed
protected String FRM_SET_obj_wait_info(in table, in test, in object, in poll_sec, in poll_msec)
protected String FRM_GEN_obj_wait_info(in table, in test, in object, in attr)
public String FRM_static_get(in table, in test, in object)
FRM-GUI-TYPE: data-entry (read)
TEST DATA FORMAT: String containing value to be checked (SET is not supported for static texts).
SET-MODE: Performs the same as in CHK mode.
CHK-MODE: The function uses the value from the data table as a second parameter to static_check_text() function.
ATR-MODE:
Checks the content of the specified object attributes using static_check_info().
Attribues are specified in pairs attribute:value
. If more than
a single atribute needs to be checked, each pair must be separated with a
newline character (in Excel: Alt-Return).
GEN-MODE: Uses static_get_text() to retrieve the content of the edit object. Note that an empty string is converted to "<<clear>>" as generated test data.
table
- (in) table nametest
- (in) test name (column)object
- (in) GUI-object where actions are to be performed
protected String FRM_SET_static_get(in table, in test, in object)
protected String FRM_CHK_static_get(in table, in test, in object)
protected String FRM_ATR_static_get(in table, in test, in object)
protected String FRM_GEN_static_get(in table, in test, in object)
public String FRM_edit_set(in table, in test, in object)
FRM-GUI-TYPE: data-entry (read/write)
TEST DATA FORMAT: String containing value to be set or checked.
SET-MODE: The function uses the value from the data table as a second parameter to edit_set() function.
CHK-MODE: The function uses the value from the data table as a second parameter to edit_check_text() function. Please note that third parameter (case-sensitive flag) can be specified via FRM_set_case_sensitive().
ATR-MODE:
Checks the content of the specified object attributes using edit_check_info().
Attribues are specified in pairs attribute:value
. If more than
a single atribute needs to be checked, each pair must be separated with a
newline character (in Excel: Alt-Return).
GEN-MODE: Uses edit_get_text() to retrieve the content of the edit object. Note that an empty string is converted to "<<clear>>" as generated test data.
table
- (in) table nametest
- (in) test name (column)object
- (in) GUI-object where actions are to be performed
protected String FRM_SET_edit_set(in table, in test, in object)
protected String FRM_CHK_edit_set(in table, in test, in object)
protected String FRM_ATR_edit_set(in table, in test, in object)
protected String FRM_GEN_edit_set(in table, in test, in object)
public String FRM_list_select_item(in table, in test, in object)
FRM-GUI-TYPE: data-entry (read/write)
TEST DATA FORMAT: String containing names or indices of the desired list items.
SET-MODE: The function uses the value from the data table as a second parameter to list_select_item() function. Third and fourth parameters are not supported.
CHK-MODE: The function uses the value from the data table as a second parameter to list_check_selected() function.
ATR-MODE:
Checks the content of the specified object attributes using list_check_info().
Attribues are specified in pairs attribute:value
. If more than
a single atribute needs to be checked, each pair must be separated with a
newline character (in Excel: Alt-Return).
GEN-MODE: Uses list_get_selected() to retrieve the selection and generate test data.
table
- (in) table nametest
- (in) test name (column)object
- (in) GUI-object where actions are to be performed
protected String FRM_SET_list_select_item(in table, in test, in object)
protected String FRM_CHK_list_select_item(in table, in test, in object)
protected String FRM_ATR_list_select_item(in table, in test, in object)
protected String FRM_GEN_list_select_item(in table, in test, in object)
public String FRM_list_activate_item(in table, in test, in object)
FRM-GUI-TYPE: navigation (read-only, can be generated)
TEST DATA FORMAT: String containing logical name or the index (e.g. #1) of the item to be activated.
SET-MODE: The function reads the value from the data table and uses it as a parameter to a native list_activate_item() function.
CHK-MODE: Not supported for type: navigation! There is nothing to be checked with a double click on a list item. Behaves the same as the SET-mode!
ATR-MODE:
Checks the content of the specified object attributes using list_check_info().
Attribues are specified in pairs attribute:value
. If more than
a single atribute needs to be checked, each pair must be separated with a
newline character (in Excel: Alt-Return).
GEN-MODE: Supported although type: navigation! We have found it practical to generate the item name of the currently selected item.
table
- (in) table nametest
- (in) test name (column)object
- (in) GUI-object where actions are to be performed
protected String FRM_SET_list_activate_item(in table, in test, in object)
protected String FRM_GEN_list_activate_item(in table, in test, in object)
public String FRM_list_select_multi_items(in table, in test, in object)
FRM-GUI-TYPE: data-entry (read/write)
TEST DATA FORMAT: String containing names or indices of the desired list items.
SET-MODE: The function uses the value from the data table as a second parameter to list_select_multi_items() function. Third and fourth parameters are not supported.
CHK-MODE: It probably won't work because native functions list_check_mult_selected() and list_check_selection() do not seem to be available for public. Our implementation is based on list_check_selected(). We were too lazy to implement our own checking. If you want to do it yourself, then function list_get_selected() is something to start with.
ATR-MODE:
Checks the content of the specified object attributes using list_check_info().
Attribues are specified in pairs attribute:value
. If more than
a single atribute needs to be checked, each pair must be separated with a
newline character (in Excel: Alt-Return).
GEN-MODE: Uses list_get_selected() to retrieve the selection. Before generating the test data the separators returned by list_get_selected() are converted to something compatible with list_select_multi_items().
table
- (in) table nametest
- (in) test name (column)object
- (in) GUI-object where actions are to be performed
protected String FRM_SET_list_select_multi_items(in table, in test, in object)
protected String FRM_CHK_list_select_multi_items(in table, in test, in object)
protected String FRM_GEN_list_select_multi_items(in table, in test, in object)
public String FRM_menu_select_item1(in table, in test, in timeout)
FRM-GUI-TYPE: navigation (read-only)
TEST DATA FORMAT: String containing logical name or the index (e.g. #1) of the tab to be selected.
SET-MODE: The function reads the value from the data table and uses it as a parameter to a native menu_select_item() function.
CHK-MODE: Not supported for type: navigation! There is nothing to be checked with menu_select_item(). Behaves the same as the SET-mode!
ATR-MODE: Not supported for type: navigation! Behaves the same as the SET-mode!
GEN-MODE: Not supported for type: navigation! Ignores the cell (i.e. skips the cell).
table
- (in) table nametest
- (in) test name (column)timeout
- (in) (optional) sometimes menues aren't reaady when WR thinks
they are; use the <timeout> to force the function
menu_wait_info( object, "enabled", timeout ) to be called
before the actual menu_select_item() is invoked.
protected String FRM_SET_menu_select_item1(in table, in test, in timeout)
protected String FRM_GEN_menu_select_item1(in table, in test)
public String FRM_menu_select_item(in table, in test, in timeout)
FRM-GUI-TYPE: navigation (read-only)
TEST DATA FORMAT: String containing logical name or the index (e.g. #1) of the tab to be selected.
SET-MODE: The function reads the value from the data table and uses it as a parameter to a native menu_select_item() function.
CHK-MODE: Not supported for type: navigation! There is nothing to be checked with menu_select_item(). Behaves the same as the SET-mode!
ATR-MODE: Not supported for type: navigation! Behaves the same as the SET-mode!
GEN-MODE: Not supported for type: navigation! Ignores the cell (i.e. skips the cell).
table
- (in) table nametest
- (in) test name (column)timeout
- (in) (optional) sometimes menues aren't reaady when WR thinks
they are; use the <timeout> to force the function
menu_wait_info( object, "enabled", timeout ) to be called
before the actual menu_select_item() is invoked.
protected String FRM_SET_menu_select_item(in table, in test, in timeout)
protected String FRM_GEN_menu_select_item(in table, in test)
public String FRM_tab_select_item(in table, in test, in object)
FRM-GUI-TYPE: navigation (read-only, can be generated)
TEST DATA FORMAT: String containing logical name or the index (e.g. #1) of the tab to be selected.
SET-MODE: The function reads the value from the data table and uses it as a parameter to a native tab_select_item() function.
CHK-MODE: Not supported for type: navigation! One could check whether a tab is selected. In practice however this is not as much used and in FRM concept soon becomes irritating. For this reason we have implemnted this function as type navigation which means that checking is not supported (although we do have the code for it). Behaves the same as the SET-mode!
ATR-MODE:
Checks the content of the specified object attributes using tab_get_info()
and match().
Attribues are specified in pairs attribute:value
. If more than
a single atribute needs to be checked, each pair must be separated with a
newline character (in Excel: Alt-Return).
GEN-MODE: Supported although type: navigation! We have found it practical to generate the tab name/index although we ignore it in CHK mode.
table
- (in) table nametest
- (in) test name (column)object
- (in) GUI-object where actions are to be performed
protected String FRM_SET_tab_select_item(in table, in test, in object)
protected String FRM_CHK_tab_select_item(in table, in test, in object)
protected String FRM_ATR_tab_select_item(in table, in test, in object)
protected String FRM_GEN_tab_select_item(in table, in test, in object)
public String FRM_button_press(in table, in test, in object)
FRM-GUI-TYPE: navigation (read-only)
TEST DATA FORMAT: String containing either Y/YES/ON (or german equivalent J/JA/ON) or the logical name of the button to be pressed.
SET-MODE: The function reads the value from the data table and uses it as a parameter to a native button_press() function according to aforementioned description.
CHK-MODE: Not supported for type: navigation! There is nothing to be checked with button_press(). Behaves the same as the SET-mode!
ATR-MODE:
Checks the content of the specified object attributes using button_check_info().
Attribues are specified in pairs attribute:value
. If more than
a single atribute needs to be checked, each pair must be separated with a
newline character (in Excel: Alt-Return).
GEN-MODE: Not supported for type: navigation! Ignores the cell (i.e. skips the cell).
table
- (in) table nametest
- (in) test name (column)object
- (in) (optional) GUI-object where actions are to be performed
protected String FRM_SET_button_press(in table, in test, in object)
protected String FRM_ATR_button_press(in table, in test, in object)
protected String FRM_GEN_button_press(in table, in test, in object)
public String FRM_toolbar_button_press(in table, in test, in object)
FRM-GUI-TYPE: navigation (read-only)
TEST DATA FORMAT: String containing either the logical name of the toolbar button or the index (e.g. #1).
SET-MODE: The function reads the value from the data table and uses it as a parameter to a native toolbar_button_press() function.
CHK-MODE: Not supported for type: navigation! There is nothing to be checked with toolbar_button_press(). Behaves the same as the SET-mode!
ATR-MODE: Not implemented yet!
GEN-MODE: Not supported for type: navigation! Ignores the cell (i.e. skips the cell).
table
- (in) table nametest
- (in) test name (column)object
- (in) GUI-object where actions are to be performed
protected String FRM_SET_toolbar_button_press(in table, in test, in object)
protected String FRM_GEN_toolbar_button_press(in table, in test, in object)
public String FRM_button_set(in table, in test, in object)
FRM-GUI-TYPE: data-entry (read/write)
TEST DATA FORMAT: String containing either Y/YES/ON or N/NO/OFF (or German version J/JA/ON and N/NEIN/OFF).
SET-MODE: The function evaluates the value from the data table. If Yes, the <object> is set to ON. Otherwise the <object> is set to OFF.
CHK-MODE: The function evaluates the value from the data table. If Yes, the <object> is expected to be in ON-state. Otherwise the <object> is expected to be in OFF-state.
ATR-MODE:
Checks the content of the specified object attributes using button_check_info().
Attribues are specified in pairs attribute:value
. If more than
a single atribute needs to be checked, each pair must be separated with a
newline character (in Excel: Alt-Return).
GEN-MODE: The evaluates the state of the <object>. If ON, then "ON" is generated. If OFF, then "OFF" is generted. If any other state is determined (e.g. DIMMED), then "???" is generated. Nonexisting objects are silently ignored.
table
- (in) table nametest
- (in) test name (column)object
- (in) GUI-object where actions are to be performed
protected String FRM_SET_button_set(in table, in test, in object)
protected String FRM_CHK_button_set(in table, in test, in object)
protected String FRM_ATR_button_set(in table, in test, in object)
protected String FRM_GEN_button_set(in table, in test, in object)
public String FRM_button_set_YesNo(in table, in test, in yesObject, in noObject)
FRM-GUI-TYPE: data-entry (read/write)
TEST DATA FORMAT: String containing either "Yes"/"No", "Y"/"N" or the German equivalent ( "Ja"/"Nein", "J"/"N")
SET-MODE: The function evaluates the value from the data table. In case of Yes, the <yesObject> is set. Otherwise <noObject> is set.
CHK-MODE: The function evaluates the value from the data table. In case of Yes, the <yesObject> is expected to be set. Otherwise <noObject> is expected to be set.
ATR-MODE: Not implemented! Behaves the same as CHK-MODE. If you need this functionallity, then you maust define each individual button and use FRM_button_set().
GEN-MODE: The function first evaluates the <yesObject>. If set, then "Y" is generated. Otherwise the <noObject> is evaluated. If set, then "N" is generated. If either none of objects exist or none of them is set, then no data is generated.
table
- (in) table nametest
- (in) test name (column)yesObject
- (in)logical name of the Yes radio buttonnoObject
- (in)logical name of the No radio button
public String FRM_button_set_JaNein(in table, in test, in jaObject, in neinObject)
table
- (in) table nametest
- (in) test name (column)jaObject
- (in) logical name of the Yes radio buttonneinObject
- (in) logical name of the No radio button
FRM_button_set_YesNo
protected String FRM_SET_button_set_JaNein(in table, in test, in jaObject, in neinObject)
protected String FRM_CHK_button_set_JaNein(in table, in test, in jaObject, in neinObject)
protected String FRM_GEN_button_set_JaNein(in table, in test, in jaObject, in neinObject)
public String FRM_radio_button_set(in table, in test, inout[] objArr)
FRM-GUI-TYPE: data-entry (read/write)
TEST DATA FORMAT: String containing the keyword which identifies the particular radio button.
SET-MODE: The function reads the keyword from the data table. It then tries to set the button indexed by the particular keyword.
CHK-MODE: The function reads the keyword from the data table. It then checks whether the button indexed by the particular keyword is set.
ATR-MODE: Not implemented! Behaves the same as CHK-MODE. If you need this functionallity, then you maust define each individual button and use FRM_button_set().
GEN-MODE: The function scans the <objArr> in a random sequence and checks if the particular object (radio button) is set. If yes, then the corresponding keyword is generated as test data. Object that do not exist are silently ignored.
table
- (in) table nametest
- (in) test name (column)
protected String FRM_SET_radio_button_set(in table, in test, inout[] objArr)
protected String FRM_CHK_radio_button_set(in table, in test, inout[] objArr)
protected String FRM_GEN_radio_button_set(in table, in test, inout[] objArr)
|
FRM v1.4.2 |
||||||||
PREV SCRIPT NEXT SCRIPT | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | FUNCT | DETAIL: FIELD | CONSTR | FUNCT |