Forum Discussion
rraghvani
2 years 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
- 13 years ago
- 4 years ago
- 12 years ago
- 4 years ago
Recent Discussions
- 17 hours ago
- 3 days ago