C ++ gui应用程序编码的UI测试 [英] C++ gui application coded UI test
问题描述
我有一个用c ++编写的GUI。我想自动化GUI测试并决定尝试编码测试。
我可以测试一些字段,但是当我尝试创建断言时,并不是所有字段都显示出来。
编码的UI测试是否仅用于c#vb应用程序?
我需要将哪些Id字段添加到我的c ++应用程序中的小部件,以便他们可以获得当我尝试断言时检测到?
嗨朋友,
感谢您的帖子。
我想这里的GUI是VS中的MFC应用程序吗?
实际上,Coded UI并不完全支持它:
参考链接及更多信息:
https://msdn.microsoft.com/en-us/library/dd380742 .aspx?f = 255& MSPPError = -2147217396
希望有所帮助。
祝你好运,
Fletcher
I have a GUI written in c++. I wanted to automate GUI testing and decided to try codedUI test.
I could test some fields but not all of them show up when i try to create assertions.
Is the coded UI test only meant to be used for c# vb applications?
What Id field do i need to add to the widgets in my c++ application so that they can get detected when i try to do assertions?
Hi friend,
Thanks for your post.
I guess the GUI here is MFC application in VS right?
Actually, it's not fully supported by Coded UI:
The reference link and more information:
https://msdn.microsoft.com/en-us/library/dd380742.aspx?f=255&MSPPError=-2147217396
Hope it helps.
Best regards,
Fletcher
这篇关于C ++ gui应用程序编码的UI测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!