Highlighted
Respected Contributor.
Respected Contributor.
2567 views

Truclient wait for object and Verify difference

Jump to solution

Hi ,

What's the difference beteen wait for object and verify ? Response time for verify object and wait for object will be the same?

0 Likes
1 Solution

Accepted Solutions
Highlighted
Honored Contributor.
Honored Contributor.

Re: Truclient wait for object and Verify difference

Jump to solution

Hi Mira,

Inserting wait function(similar to Think time ) is allowing the page wait for sometime to load completely and checking the object whereas Verify(similar to Text Check) will check whether the object is present or not and move it to the next page once found.

As per the HP LoadRunner UserGuide ,please find the difference for Verify and Wait for Object below:

Insert Wait steps
Sometimes a script will fail to replay because an object in a step is not available when the previous
step has finished. You can resolve this by inserting Wait Steps into your script which pause the
script replay before continuing to the next step. There are two different types of Wait Steps:

1) The Wait step pauses the script for a specified amount of time before continuing to the next
step.
2)The Wait for Object step pauses the script until a specified object is loaded before continuing to
the next step.

Wait Steps begin after the End Event of the previous step. This means that the previous step may
continue to run after the Wait Step has been reached.


Verify that an objects exist
To verify that a string or object exists in the application, you can insert a verify step.

View solution in original post

0 Likes
1 Reply
Highlighted
Honored Contributor.
Honored Contributor.

Re: Truclient wait for object and Verify difference

Jump to solution

Hi Mira,

Inserting wait function(similar to Think time ) is allowing the page wait for sometime to load completely and checking the object whereas Verify(similar to Text Check) will check whether the object is present or not and move it to the next page once found.

As per the HP LoadRunner UserGuide ,please find the difference for Verify and Wait for Object below:

Insert Wait steps
Sometimes a script will fail to replay because an object in a step is not available when the previous
step has finished. You can resolve this by inserting Wait Steps into your script which pause the
script replay before continuing to the next step. There are two different types of Wait Steps:

1) The Wait step pauses the script for a specified amount of time before continuing to the next
step.
2)The Wait for Object step pauses the script until a specified object is loaded before continuing to
the next step.

Wait Steps begin after the End Event of the previous step. This means that the previous step may
continue to run after the Wait Step has been reached.


Verify that an objects exist
To verify that a string or object exists in the application, you can insert a verify step.

View solution in original post

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.