Testing Fly Out Menu in QTP

前端 未结 5 1990
别跟我提以往
别跟我提以往 2020-12-05 22:28

I am looking for ideas to trigger the actions for fly-out menus using QTP.

I am testing a Web App using QTP. The application has \"cascaded\" or hierarchical fly-out

5条回答
  •  借酒劲吻你
    2020-12-05 23:01

    I had a similar situation handled in slightly different manner, first click on the parent link Options then trigger the fireevent onclick with the help of ordinal identifier

    eg: browser().page().link(options).click

    browser().page().link("name:=preferences","html tag:=A","index:=X").firevent "onclick"

    This would ideally load the intended parent link & would be helpful in triggering fire event on click- Hope this helps.

提交回复
热议问题