Forum Discussion
Hi Rachelle,
You can simply invoke the needed command directly from TestComplete, unless you need to test how Windows Explorer works (I suppose this is not the case). Please see the following How To entry to learn how to execute a command line and get the executed application's exit code from TestComplete:
http://www.automatedqa.com/support/viewarticle.aspx?aid=8966
The sample script executes the "notepad" command, which launches Notepad, but you can simply replace the corresponding string with any other command you need.
If you need to specify a file in a standard save/open file dialog invoked from your tested application, I recommend that you see the "Working With Open File and Save File Dialogs" ( http://www.automatedqa.com/support/viewarticle.aspx?aid=8006 ) help topic - it describes how the task can be accomplished in a reliable way.
Related Content
Recent Discussions
- 4 hours agoSvetaG