Forum Discussion
rraghvani
10 months agoChampion Level 3
The login window is always the same, properties don't change? However, it has different parents because you have three applications/programs? Therefore you've defined three name mappings for the login window?
How is the application called?
Use if...statements with WaitAliasChild method. You can wait up to a number of seconds before moving on. For example,
if (AliasObj.WaitAliasChild("App1.Login", 5000).Exists)
Log.Message("Login 1")
else if (AliasObj.WaitAliasChild("App2.Login", 5000).Exists)
Log.Error("Login 2");
else if (AliasObj.WaitAliasChild("App3.Login", 5000).Exists)
Log.Error("Login 3");
Related Content
- 8 years ago
- 12 years ago
- 4 years ago
- 11 years ago
- 2 years ago
Recent Discussions
- 36 minutes ago
- 6 hours ago