Forum Discussion
Hi Bingo,
One more thing to check - do you have the DPI settings set to 100% on your computer?
Also, this article contains possible cases of the error you get. Please go through them one more time.
Yeah, the DPI setting is 100% and the help doc I can't find any ways to solve this random issue. Thanks!
- handanu6 years agoContributor
What if tested object be fullscreen? Could your tested application be fullscreen?
- Bingo6 years agoContributor
It don't need be fullscreen because the test object is under the app that is fullscreen.
- AlexKaras6 years agoCommunity Hero
Hi,
> It don't need be fullscreen because the test object is under the app that is fullscreen.
Could you clarify this?
Does this mean that your test is working with two tested applications and the problem (randomly) occurs when the second application is behind the currently active first one and test code tries to click the object of the second application?
If this is the case, what if you try to activate your second application before interacting with it? Like:
Call Aliases.Inventor.MainWindow.Activate()
- Bingo6 years agoContributor
Oh, it's a work window like PS work area. They are belong to the same windows client.
- AlexKaras6 years agoCommunity Hero
> it's a work window like PS work area.
What if you try to activate it before use:
Call Call Aliases.Inventor.MainWindow.MDIClient.Activate()
Idea behind the suggestion: you might got an error that the window cannot be activated if there is some case with the window itself, but not with the target control and its coordinates.
- Bingo6 years agoContributor
OK, I will have a try. Thanks a lot.