| || |
QTP Error raised using SystemUtil.Run
I have been seeing some inconsistent behavior when QTP opens an existing word doc using SystemUtil.Run. In order to bypass this, I changed the test to open word using the CreateObject method. However, I occasionally have the same problem. Does anyone know a better way to open the word doc or to handle this error effectively? I might need to reinstall office because sometimes when I close a word file, I get a message indicating that normal.dot has been changed and asks me if I want to save it. Also, if QTP is open and I manually open a word doc it takes it like 10 seconds to open. Any info is greatly appreciated.