Highlighted
Absent Member.
Absent Member.
197 views

How to include think time

How to include think time
0 Likes
3 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to include think time

think time Pauses execution between commands in a script.

below is the example for you

In the following segment, lr_think_time instructs the script to pause for 10 seconds after accessing a link.

web_link("1 Book Search:", "Text=1 Book Search:", LAST);
lr_think_time(10);
web_submit_form("db2net.exe", ITEMDATA, "name=library.TITLE",
"value=UNIX", ENDITEM, "name=library.AUTHOR", "value=",
ENDITEM, LAST);


lr_think_time allows you to pause test execution during a run. This is especially useful in simulating think time, the time a real user pauses to think between actions.


Cheers!

Nvr Blame a day in ur life....... Good day gives "happiness" & Bad day gives "experience" ......
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: How to include think time

Nice. Thanks
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: How to include think time

and you need to enable think time in run time settings.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.