Solved
Forum Discussion
3 Replies
Sort By
- baxatobCommunity Hero
You can map your "unusual screen" into the NameMapping repository and check its existence in the beginning of the loop:
if Aliases.UnusualScreen.Exists: closeUnusualScreen()
or simply use Find() for some property/value pair, which is relevant to your unexpected window:
if Find(Property, Value, Depth).Exists: closeUnusualScreen()
- jab4743Contributor
FYI: I don't want to take credit for this solution but another user suggested the use of the WaitAliasChild method when checking/waiting for an object's existence - sometimes it works better than the exists or wait method. For my issue - it did work better.
- jawedOccasional Contributor
Thanks for ur instance reply I want to share what i have done . I uses if object Test action and check existence of popup by selecting exists option. and put recorded script for closing that popup in if object block. It work for me.
Related Content
- 7 years agogdave
- 10 months agoIrinaManea
- 9 months agoAnabelle
- 11 months agoMarcusBengtsson