Results 1 to 2 of 2

Thread: QTP xml parser

  1. #1

    QTP xml parser

    i am trying to write a function where i will pass test Object as argument and will return it's object hierarchy starting from root.

    i mean to say i am trying to fetch an test object path from the object repository.....say for example for a test object "Button" the value should be returned as Windows("Flight Reservation").winbutton("Button")

  2. #2

    Re: QTP xml parser

    Window("Flight Reservation").ToString will return you

    "Flight Reservation Window", so you can extract the object name from that and then you can use GetTOProperty("parent") to actually get the parent object and get the complete hierarchy as such



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 04:13 PM.

Copyright BetaSoft Inc.