int TotalNumberOfBUIDs; char TotalNumberOfBUIDschar[3]; //working variable char *AvailableBUIDsparam; //working variable web_reg_save_param(“AvailableBUIDs”, “LB/IC=class=’PSSRCHRESULTSODDROW’ >”, “RB/IC=”, “Ord=All”, “Search=Body”, “RelFrameId=1”, “Notfound=error”, LAST); TotalNumberOfBUIDs=atoi(lr_eval_string(“{AvailableBUIDs_count}”)); TotalNumberOfBUIDs = rand() %TotalNumberOfBUIDs; lr_output_message(“%d”, TotalNumberOfBUIDs); itoa(TotalNumberOfBUIDs, TotalNumberOfBUIDschar, 10); //working variable conversion lr_save_string(TotalNumberOfBUIDschar, “BUIDindex”); AvailableBUIDsparam = lr_eval_string(“{AvailableBUIDs_{BUIDindex}}”); lr_save_string(AvailableBUIDsparam, “BUIDs”); lr_save_string((lr_eval_string(lr_eval_string(“{BUIDs}”))), “BUID”); “Name=VCHR_ERRC_WRK_BUSINESS_UNIT”, “Value={BUID}”, ENDITEM, //application of the value that was captured and then randomized The […]
Entries from February 6th, 2008
Code Snippets(HP LoadRunner): Randomly Selecting an Array of Values and Using That Value As A Parameter by Howard Clark
February 6th, 2008 · 4 Comments · Uncategorized
Tags:
The Red Pill or The Blue Pill?: Is It Even A Valid Question, I’ll take the Red Pill Please! by Howard Clark
February 4th, 2008 · No Comments · Uncategorized
This is a reference to a very popular series of movies that went by the name of “The Matrix” and it’s various sequels. The answer to this question serves as an inflection point for the main character who is given an opportunity to continue to carry on in life as he had before, or to […]
Tags: