01-08-2009, 11:39 AM
Hi Uday,
I think your script should be
since qtp uses "name" property of browser class to uniquely identify the browser object.
And Stevol, why do you want to re-do something which is already available in QTP??
Just like your function Open() now returns a reference to the IE application opened(by the function itself),
now you should find some way of getting reference to collection of objects displayed on the web page opened by the function Open(). Is it worth it??
I think your script should be
Code:
browser("name:=Yahoo.*").page("title:=Yahoo.*").webtable("name:=login.*").webedit("name:=login","html tag:=INPUT").set "xyz" ,
And Stevol, why do you want to re-do something which is already available in QTP??
Just like your function Open() now returns a reference to the IE application opened(by the function itself),
now you should find some way of getting reference to collection of objects displayed on the web page opened by the function Open(). Is it worth it??