QTP LR JSP ORACLE

DotNetFactory

上一篇 / 下一篇  2008-06-01 18:24:53 / 个人分类:QuickTestProfessional

DotNetFactory对象使我们能够在qtp环境下创建一个.Net的实例,并访问它的方法和属性。而且,我们还可以通过这个对象去访问类的一些静态方法。

DotNetFactory的CreatInstance方法 语法:

Set var_CreateInstance = DotNetFactory.CreateInstance (TypeName [,Assembly] [,args])

1。 Send keys to Active Window  

Syntax: object.SendKeys( keys, wait )

  • keys - A String that defines the keys to send.
  • wait - Optional. A Boolean that specifies whether or not to wait for keystrokes to get processed before the application continues. True by default.

    Example:

    Set Keyboard = DotNetFactory.CreateInstance


  • TAG:

     

    评分:0

    我来说两句

    日历

    « 2024-05-03  
       1234
    567891011
    12131415161718
    19202122232425
    262728293031 

    数据统计

    • 访问量: 71579
    • 日志数: 117
    • 图片数: 1
    • 文件数: 1
    • 建立时间: 2007-05-07
    • 更新时间: 2011-06-16

    RSS订阅

    Open Toolbar