Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

Oracle NCA Script error only on 2nd iteration

$
0
0

Hi All,

 

I am working on Retek Merchandising System scripting.

The script works fine for the first iteration perfectly fine, and at a particular step in the second iteration returns the ifError(100);

 

Note that the script has about 8 action sections with the following flow:

(VUSER_Init > Launch) - Init Section

(NavigateDeals -> DealMenu ->DealHeader ->DealComponents ->DealLocationThresholds -> SubmitDeal) - Action Section

(VUSER_End) - End Section

 

Steps at which it is failing is

 

nca_set_window("Add Deal Item/Location         (dealmain2)");
 nca_button_press("B_ITLC_ADD_PB_OK_0");
 lr_think_time(5);
 nca_set_window("Deal Maintenance                (dealmain2)");
 nca_button_press("B_MAIN_ACTION_PB_SAVE_0");
 nca_tab_select_item("C_ITEMLOC_THRESH", "Thresholds");

 

and sometimes at this step:

lr_start_transaction("SaveLocThreshold_Deal");

nca_button_press("B_MAIN_ACTION_PB_SAVE_0");

lr_end_transaction("SaveLocThreshold_Deal", LR_AUTO);

 

Funny enough, if i move the signout and signin into the action (ie. logout and close application as part of the action block), the script works fine.

 

Any pointers as to what may be wrong?

 

Regards,

AJ


Viewing all articles
Browse latest Browse all 12134

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>