Fredrik Haegg wrote: > Hi Hong, > > zhang Hong wrote: > >> Hi Fredrik Haegg, >> >> Thank you very much! I appreciate your detailed explaination, and I have >> understand clearly. >> Recently, I am learning the automatic testing method about Resource test. >> Therefor, I have >> some questions about basic options, such as New and Close document, dialogs >> or windows. >> > > No problem. Keep asking. : ) > > >> Besides, How to check if a document close correctly? >> I try to count the number of current document. if the number decrease, it >> shows that the document >> has closed correctly? Or do you have other better method? >> > > Yes, that is probably the best method (GetDocumentCount before and after > you close the document). > Fredrick:
Is there not a way to get the document's 'handle' and check for the absence of this value after you close the document? James McKenzie --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
