How to get informed, the component was loaded
Posted: Tue Oct 17, 2017 2:22 pm
I have an application, where I have several components and I have their ID's (strings, with which i can identify them).
I have a button, that creates a complicated component (which ID I also have). So rendering the component takes some time. Now I write code like this:
while (component == null){
..
Thread.Sleep([for some time])
}
And instead, I want to use an event or whatever.
I wonder, whether Ranorex library provides some way to inform, when the component with a specific ID appears on the screen.
I have a button, that creates a complicated component (which ID I also have). So rendering the component takes some time. Now I write code like this:
while (component == null){
..
Thread.Sleep([for some time])
}
And instead, I want to use an event or whatever.
I wonder, whether Ranorex library provides some way to inform, when the component with a specific ID appears on the screen.