Ask a Question

TC can't find "Save as type" object of SaveAs dialog of Windows 10 Word document

SOLVED
Dz192711
New Contributor

TC can't find "Save as type" object of SaveAs dialog of Windows 10 Word document

I recorded a Keyword Test that generated a Windows 10 Word doc, then saving it in a plain text format by using File->SaveAs. In SaveAs dialog, I entered a filename in “File name” dropbox, and picked “Plain Text (.txt)” option in “Save as type” dropbox. However TestComplete couldn’t find the “Save as type” object when I ran the Keyword Test. I noticed that TestComplete mapped “Save as type” object to Window.ComboBox.ClickItem(“Plain Text (*.txt)”) instead of Aliases.WINDWORD.dlgSaveAs.DUIViewWndClassName…

 

I did the same recording for Windows 7 and it worked great.

 

Any helps are appreciated. Thanks

4 REPLIES 4
Marsha_R
Community Hero

What version of TestComplete are you using?


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

TestComplete 14

I remember having a hard time with dialog boxes in Windows a long time ago, but I don't remember off hand what we did to resolve it.  I'll see if I can come up with something.

 

Let me ask you this - why are you testing the Word app?  Is this document part of another test?  Perhaps there's another way to do this.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

Yes, it's part of an app's result. Anway, i found a different way that avoid modifying that field by using Export feature of Windows 10 Word. Thanks!

cancel
Showing results for 
Search instead for 
Did you mean: