How to handle Implicit Waits

Modified on Fri, 14 Feb at 2:31 PM

TABLE OF CONTENTS

1. Overview

2. Using Implicit Wait Parameter in the ApplicationSettingsXML file.

1. Overview

Implicit wait is a mechanism that allows the browser to wait for a specified amount of time before throwing an error when trying to locate an element.

When a page is not loaded completely, this makes locating the elements difficult in execution which results in ElemntNotFound exception. You can use implicit wait to load for the element to appear. You can handle it by changing <MaximumTimeInSecondsToWaitForControl>5</MaximumTimeInSecondsToWaitForControl> in the ApplicationSettingsXML file.

2. Using Implicit Wait Parameter in the ApplicationSettingsXML file. 

Perform the following:

  1. Navigate to the Script Generated Folder. 
  2. In the script generated folder, to access Application Settings File, update the required value in <MaximumTimeInSecondsToWaitForControl>5</MaximumTimeInSecondsToWaitForControl> parameter.
  3. Save the changes.










Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article