Forum Discussion
Hello ebarbera,
Do you mean this step:
!Sys.WaitProcess(TestedApps.{AppName}).Exists
?
Nothing.. it an "if" statement, inside of which I run the app if it is not running...
But as I mentioned, it is trying to run it every time.
Also, can you help me figuring out what is the eye icon that I highlighted with green circle in the attachment ?
Thanks.
Hi,
> what is the eye icon
This means that this application is "open" to TestComplete - https://support.smartbear.com/testcomplete/docs/app-testing/open-apps/about.html#how-to-check-whether-an-application-is-open
> Sys.WaitProcess(TestedApps.{AppName})
Does the value of TestedApps.{AppName} correspond to the ProcessName property of the tested application displayed by the Object Browser? (I.e. does not contain '.exe' for example)
- pmalichenko3 years agoOccasional Contributor
- AlexKaras3 years agoChampion Level 3
Hi,
> Sys.WaitProcess(TestedApps.{AppName}).Exists
Actually, TestedApps.{AppName} returns an object, while .WaitProcess() method expects a string as a parameter.
Thus you must use some property of the tested application object.
E.g.:
Sys.WaitProcess(TestedApps.{AppName}.ItemName).Exists
Does this help?
Related Content
Recent Discussions
- 2 days agojstaehlin