| || |
Re: playback speed
I found the solution. first grab and store the default: static d = getvar ("cs_run_delay");
Then set the desired playback speed:setvar ("cs_run_delay", 1000);
Then restore the playback speed when exiting the script or function:setvar ("cs_run_delay", d);
Can someone please direct me to Winrunner info on setting playback speed during execution and then restoring it to the default. I've reviewed the topics on setvar and getvar but they're not what I'm looking for.
The problem is, when I load a certain table via a user input (checkbox) on a gui, the table creates a droplist so long that winrunner has a tough time finding the specified list_select_item and ends up picking every other item. I'm quite sure it's a race condition that I can correct by slowing playback, then restoring it when I exit the script.