Hi James, Fredrick What is the document's 'handle' ? I don't understand well. Thank you!
Best Wishes Zhang Hong Beijing Redflag Chinese 2000 Software CO.,LTD Email:[EMAIL PROTECTED] 2008-04-10 发件人: James McKenzie 发送时间: 2008-04-10 09:29:38 收件人: [email protected] 抄送: 主题: Re: [qa-dev] [Automation]question about "DialogTest" 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]
