Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Highlighted
leer
New Member.
81 views

What is the best way to wait for a long running page to load

I am load testing a page which takes a while to load of the object I have waited for.  I used object exist end event but sometimes during load the next object doesn't show up in time.  I am wondering what the best way to get around this is?  

0 Likes
2 Replies
Outstanding Contributor.. JHF Remmelzwaal Outstanding Contributor..
Outstanding Contributor..

Re: What is the best way to wait for a long running page to load

When you are sure that the object you are waiting for will always show up, increase the wait time of 'Wait For Object'. You might also insert an step after the 'Wait For Object' to catch the error and take some other action.

 

Signature:
Reward community members who take time to respond and help.
0 Likes
Nakkeeran Valued Contributor.
Valued Contributor.

Re: What is the best way to wait for a long running page to load

Hi @leer

My suggestion would be,

1. If there is one same object that loads the last, then wait for it.

2. If there are list of objects to wait, then can use javascript to wait for all of them.

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.