In the following example, the user selected an item from a list (nca_list_activate_item), pressed a button (nca_button_press), retrieved a list value (nca_lov_retrieve_items), and performed a click in an edit field (nca_edit_click). The logical names of the objects are the parameters of these functions.
nca_lov_select_item("Responsibilities","General Ledger, Vision Operations");
nca_lov_select_item("Batches","AR 1020 Receivables 2537: A 1020");
In certain tests, such as those performed on Oracle Configurator applications, information returned by one function is required throughout the session. VuGen automatically saves the dynamic information to a parameter, by inserting a web_reg_save_param function into the script. In the following example, the connection information is saved to a parameter called NCAJServSessionID.
web_reg_save_param ("NCAJServSessionId", "LB=\r\n\r\n", "RB=\r", LAST); web_url("f60servlet",
In the above example, the right boundary is \r. The actual right boundary may differ between systems.
Note: We recommend that the user not modify the web_reg_save_param parameters if they were generated automatically. Alternatively, you can manually add a new web_reg_save_param function or add a new correlation rule.