zoukankan      html  css  js  c++  java
  • Tips of QTP

    Tarun Lalwani
    Veteran

    What is micClass

    Reged: 07/21/05
    Posts: 13870
      Re: What is micclass? [Re: Champion]
          #390419 - 06/19/07 01:12 AM   Edit     Reply     Quote     Quick Reply   

    When you saw Browser("XXX") that mean that XXX has a micclass:=Browser. Mic class is the classname/type of test object which is browser in your case. What you saw earlier is used to create a dummy parameter.

    In case you know there will be a single browser only that mean you dont need to provide anything to recognize it. But DP does not allow passing a blank parameter. So the below statments are invalid

    Browser("").Close
    Browser().Close

    Now since we dont have any property we put one which is already implied.

    Browser("micclass:=Browser").Close

    I hope that would answer your query.

  • 相关阅读:
    UVa 11389
    uva 1418
    uva 10905 Children's Game
    uva 471
    UVA 1508
    Uva120 Stacks of Flapjacks
    UVA 10020 Minimal coverage
    UVA434
    UVa 311
    决策树算法
  • 原文地址:https://www.cnblogs.com/Apple010/p/2423342.html
Copyright © 2011-2022 走看看