Forum Discussion
irina_lukina
14 years agoSuper Contributor
Hi Shubhangi,
The window disappears if you do a switch user and then login with the same user.
Yes, it's correct, because when you switch a user, the operating system creates a new session and the window remains open in the session that was not closed (see my previous post). However, when you log off, the current session is closed and then re-created again. That's why TestComplete can access the window after the rebooting is completed.
It also disappears If you just verify the host using Host.Verify() method.
As I've said in my previous post, the Verify method (if the Automatic logon property is enabled) creates a new session. That's why TestComplete cannot access the window after you call this method.
So, I think the behavior you described is correct.
Related Content
Recent Discussions
- 3 days ago
- 3 days ago
- 7 days ago