john_coldrick
12 years agoNew Contributor
The Object Does Not Exist: Orders Tutorial
I'm a new user and I'm attempting to follow the Orders tutorial. I can easily follow the steps and record the test as decribed in the movies and help.
But my tests AWAYS fail during playback. And they always fail at the File Open dialog. None of the objects in this dialog (the dialog itself, any scroll bars, or fields) exist acording to TestComplete.
I have a Windows 7 machine, and all I'm attempting to do is follow the tutorial.
I have also read the help and attempted some name mapping (maybe not that well) but whenever I right-click on the item in the Workspace and select "Highlight on screen", in an attempt to maybe map it, I get an error message stating "Unable to hightligh X object on screen, because it does not exits." This applies to the dialog and all items within it.
We have version 9.20.2460.7
I also attempted to create a Windows Notepad "Hello" test but TestComplete ALWAYS Fails at the File Save dialog, too.
My tests work well if I avoid any Windows dialogs but that is not a great solution as our software is built using Windows and needs to access these dialogs.
What can I do to make these objects exist in TestComplete?
But my tests AWAYS fail during playback. And they always fail at the File Open dialog. None of the objects in this dialog (the dialog itself, any scroll bars, or fields) exist acording to TestComplete.
I have a Windows 7 machine, and all I'm attempting to do is follow the tutorial.
I have also read the help and attempted some name mapping (maybe not that well) but whenever I right-click on the item in the Workspace and select "Highlight on screen", in an attempt to maybe map it, I get an error message stating "Unable to hightligh X object on screen, because it does not exits." This applies to the dialog and all items within it.
We have version 9.20.2460.7
I also attempted to create a Windows Notepad "Hello" test but TestComplete ALWAYS Fails at the File Save dialog, too.
My tests work well if I avoid any Windows dialogs but that is not a great solution as our software is built using Windows and needs to access these dialogs.
What can I do to make these objects exist in TestComplete?
See the help topics OpenFile and SaveFile methods
Working With Open File and Save File Dialogs
http://support.smartbear.com/viewarticle/30455/
The OpenFile method is not recorded on Windows 7 and Windows Vista; instead, TestComplete records interactions with the Open File dialog elements. However, you can modify the recorded test and manually replace them with the OpenFile method call.