如何使用C Sharp自动化Qtp [英] How to Automate Qtp with C sharp
本文介绍了如何使用C Sharp自动化Qtp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好朋友,
我正在下载Qtp脚本的应用程序上工作.我需要将此传递给Qtp以便自动执行,但我想以编程方式进行此操作.
我想在C#中做到这一点.如果可以使用Qtp Apis,请提出建议,以便我可以自动执行此过程.
谢谢,
Jagjot
Hello Friends,
I am working on an application in which I am downloading a Qtp script. I need to pass this to Qtp for automatic execution, but I want to do this programatically.
I want to do this in C#. Please suggest me if Qtp Apis are available or something, through which I can automate this process.
Thanks,
Jagjot
推荐答案
您能否仅以脚本作为临时文件执行CScript?
您应该可以使用Process.Start来做到这一点
Can''t you just execute CScript with the script as a temporary file?
You should be able to do that using Process.Start
我想您想在此站点上进行一些翻阅: ^ ].
它包含大量信息,包括教程和示例.
干杯!
I think you would like to rummage around this site a little: http://qtp.blogspot.com/2008/11/qtp-apis-dlls-and-more.html[^].
It has an abundance of information including tutorial and examples.
Cheers!
您可以将QTP与C#点网集成在一起,
QTP提供了托管dll与之进行点网集成.
Mercury.QTP.CustomServer.dll(QTP为点网提供了dll)
Janus.Windows.GridEX.v3.dll(Janus提供了托管的dll,用于标识janus网格及其属性.)
问候,
Munna Sarfraz
You can integrate QTP with C# dot net,
QTP provides managed dll for dot net integration with it.
Mercury.QTP.CustomServer.dll (QTP provided dll for dot net)
Janus.Windows.GridEX.v3.dll (Janus provides managed dll for identifying janus grid and its attribute.)
Regards,
Munna Sarfraz
这篇关于如何使用C Sharp自动化Qtp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文