How can I get the run result status according to the current report node?

后端 未结 3 729
自闭症患者
自闭症患者 2021-01-12 19:17

For example, suppose a test calls two actions, A and B. A performs a \"failed\" step by calling \"Reporter.ReportEvent micFail, ...\", and B performs a \"passe

3条回答
  •  余生分开走
    2021-01-12 19:45

    You can create different nodes for different actions. Every node will show the status of underlying steps (e.g. if any of the steps under that node is failed then node is failed)

    Reference for creating nodes in Report: http://www.advancedqtp.com/report-hierarchical-events-in-qtp-log/

    You can start a new node for every action, and reset the node as soon as the action is complete.

提交回复
热议问题