google搜索 站内搜索                 软件测试门户 | 软件测试培训 | 文章资料精选 | 软件测试论坛 | 测试解决方案 | 软件测试博客 | 测试招聘求职 
打印

[求助] QuickTest 不能回放borland c++ builder 编译的程序

QuickTest 不能回放borland c++ builder 编译的程序


请问各位大虾,有啥解决方案吗?
有可能是因为borland 不是用标准的mfc

谢谢各位大虾


敬礼

TOP

填加相应的插件,不过如果用的第三方的控件的话,可能QTP对这个对象的识别是有问题的.

TOP

thanks


谢谢!!!我发觉那个borland程序,有些控件每次重新运行程序,与QTP抓下来的windowsid 都是不同的:-(

TOP

第一 QuickTestPro不能识别C++Builder编写的程序,因为它不提供相应的插件
第二 WindowID 是Handle,每次程序重新启动都会生成一个新的ID

识别CB 开发的程序,解决方法为,用winrunner或者Robot 进行测试,他们都有Delphi的插件,而Delphi和CB都是VCL库实现的,delphi pascal代码和CB的代码可以互相调用的技术特点,就可以实现识别cb的功能。
我用ROBOT做过试验识别cb的功能,完全可以实现。

但是话说会来,到底对象识别到什么程度?也许可以完全解决识别对象的问题

TOP

方便的话,请版主email delphi插件,aprina1@sina.com, 多谢!

TOP

原来是这样,明白了。谢谢!
躲在某一个时间,想念一段时光的掌纹……

TOP

Mercury 官方回复,有点ambiguous

Martin:



We can discuss this further but here is feedback from my engineer:



for QTP: is likely to have some recognition problems with app built in C++ Builder. This is because C++Builder is not using standard MFC controls but customized versions of those. That means that QTP will probably work, however it will also have some limitations;



for WR: I've seen 2-3 accounts over the years who have seen good support for Borland's C++ using WR with the Delphi Add-in. Apparently their C++ classes are extremely similar to their Delphi classes so that WR should work fine.



Having said that, C++Builder is not an officially supported environment so if any problems come up your customer would be on their own outside of leveraging the resources in the knowledge base.



Is this helpful?



Kelly

[ 本帖最后由 martinzhangdi 于 2006-7-1 22:34 编辑 ]

TOP

 
当前时区 GMT+8, 现在时间是 2008-12-5 00:48Copyright(C)上海博为峰软件技术有限公司 2001-2007 电话:021-64471599-8017
当您在访问网站、论坛及博客过程中遇到问题时可发送email:webmaster@51testing.com或发送论坛短信至管理员风在吹