Syncronization: How to syncronize for page load or search record displayed in table?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2018
12:03 AM
04-23-2018
12:03 AM
Syncronization: How to syncronize for page load or search record displayed in table?
Hello All,
I am looking for dynamic syncronization meaning it should wait till the page load and then start the activities. Currently, I am using Delay(2000) method to do this but it is not effective as sometime the page is loaded quickly and sometimes not.
Also,I have another scenario where we are searching the record and it takes time, we are not sure how much time it will take to complete the operation.
I would like to know what can I use in order to make the wait dynamic.
Regards,
Nimish
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2018
04:37 AM
04-23-2018
04:37 AM
Hi Nimish,
.WaitXXX() or .FindChildEx() methods are best for this.
Regards,
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2018
05:10 AM
04-23-2018
05:10 AM
Additionally, if you're testing web pages, you can wait for page to load by calling the "Wait" method of the page object.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
