Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using DP to define windows
#6
Not Solved
Code:
ObjBrw("name").Value = BrwHandle
BrwHandle = Browser(ObjBrw).GetROProperty("name")
it's like a deadlock.


As long as i know name,title,regexpwndclass property values will stay unique for a page.If so, you can make descriptive programming directly as

Code:
browser("title:=titile_property_shown_in_object_spy").page("title:=titile_property_shown_in_object_spy"").Sync

It doesnt seem like browser and page objects are identified by your qtp , make sure web add-in is loaded!
Reply


Messages In This Thread
Using DP to define windows - by mrerek - 07-15-2011, 01:36 AM
RE: Using DP to define windows - by rajpes - 07-15-2011, 09:30 AM
RE: Using DP to define windows - by mrerek - 07-16-2011, 12:51 AM
RE: Using DP to define windows - by rajpes - 07-16-2011, 11:54 AM
RE: Using DP to define windows - by mrerek - 07-18-2011, 10:22 PM
RE: Using DP to define windows - by rajpes - 07-19-2011, 11:39 AM
RE: Using DP to define windows - by mrerek - 07-21-2011, 12:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  What are different types of Function we define in UFT? amit25007 1 3,287 03-09-2016, 09:08 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 5 Guest(s)