Highlighted
Regular Contributor.
Regular Contributor.
450 views

Determining object for text check in Tru client protocol

Hello all,

I am new to Tru client protocol so need some help from experts.

In Tru client protocol i am using wait for object as text check .But few objects are loading faster and few are loading slower, so in that case what is the best practice to choose object for text check.

Thanks in advance.

0 Likes
3 Replies
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Determining object for text check in Tru client protocol

Hi Vivek8, 

"Wait for Object" step pauses the script until a specified object is loaded before continuing to
the next step, instead "Verify" step controls if an object or a string exists on the application's page HTML. 

Don't worry about the time spent: you can insert how many "Wait for Object" steps where you want, this will consolidated your recorded script. 

Remember to replay the script also in VuGen mode ("silent modality"): this type of execution is the same that will be executed from Controller. Sometimes, due various issues, replay in Develop mode ("interactive modality") finishes well but the execution in silent modality presents some errors. 

Lorenzo

0 Likes
Highlighted
Regular Contributor.
Regular Contributor.

Re: Determining object for text check in Tru client protocol

Hi Lorenzo.

Agreed with you .

But 1 quick check if we are applying verify for object step which object will be correct choice to select ?? Because on web page few things will load fast  and few will load slow. So in order to calculate proper response time we need to select proper object in the script.

Vivek

0 Likes
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Determining object for text check in Tru client protocol

I suggest you to insert a "Wait for Object" step for every object you retain important after the page web is loaded: time of objects's loading is insignificant at registration phase. If you know that a particular element of the HMTL page looses time, the run by Controller tell you HOW MUCH is slow with a certain Vusers load. 

Lorenzo

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.