I was using waitForCreate component to click a link in Mycrosoft Dynamics.Though the waitforcreate returns true, the click component is not performing the click.If I place a sleep or Visible component in between waitforcreate and the click, it works fine.I want to know what is the exact behavior of waitforcreat and why its not working here.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
WaitForCreate returns true when the control is matched and false if it reaches the timeout or iterates through all the controls and does not find a match.
Posted: 5 years ago
Posted: 19 Sep 2017 4:15 EDT
Asiri Chathuranga Gallala Gamage (ASIRICHATHU)
This was the issue...So what I did was I checked Visible property and if it returns true, I continued to the next step if false is returned I used a pause for a very little time and connected it back to check visibility so it runs as a loop to check if its visible.