Forum Discussion
- YMinaevStaffHi,
This can happen because the target object is not shown on the screen. Before clicking, check its VisibleOnScreen property. If it is False, try activating the parent window by calling its Activate method. - GirlOccasional ContributorVisible properity = True
In all my invisible cases.
Please provide working solution to the problem. - YMinaevStaffHi,
Read my previous post carefully. As I said:Before clicking, check its VisibleOnScreen property. If it is False, try activating the parent window by calling its Activate method. - GirlOccasional Contributor
- YMinaevStaffHi,
Actually, I mean checking VisibleOnScreen in your script before trying to perform any actions with the target control. If you get True, proceed with clicking, otherwise, call Activate of the top-level parent of your button. - GirlOccasional ContributorPlease provide Step by Step instructions.
- AlexKarasChampion Level 3Hi,
Jared meant modifying your script test code like this (VBScript mokup):
If (yourTestedObject.VisibleOnScreen) Then
' your current code
Else
Log.Error(yourTestedObject.FullName & " is not visible on screen")
End If- nagelOccasional Contributor
If the other suggestions are not working; check the Task Manager to see if you have duplicate applications running. I had this same issue, and noticed I had two "cmd.exe" running, one process was hung without visability on screen.
Related Content
- 10 years ago
- 7 years ago
Recent Discussions
- 3 days ago