I had written the Code as Browser("title:=.*").Page("title:=.*).
But Now When one more Browser is open then Qtp get conflict and throw Error.
Now I can't change the code,Please Advise that How can I handle the Scenario.
Why can't you change the code? If you can't you'll just have to be sure there's only one browser open...
Need to get the Creation Time ordinal identifier in there if you're going to deal with multiple browsers.
r we get the creation time of new open browser through environment varible or any other way to get the creation time apaet from BROWSER().GETROPROPERTY("CREATION TIME")
Ordinal identifiers cannot be retrieved through GETROPROPERTY , as I said earlier in one of the posts.
One way is either you have to change the code or use only one browser.
Certified HP consultant
First opened browser - Browser("CreationTime:=0").Page("title:=.*).
Second opened browser - Browser("CreationTime:=1").Page("title:=.*).
My linkedIn Profile
i got the solution of above query.we can get the run time "hwnd" property snd identify the different browser.
so how many number of browser is previously opened is doesnt matter.
there is no need to close all the browser or to use creation time.
set oIEApp = Createobject("InternetExplorer.Application")
'Make ie visible
oIEApp.Visible = True
iehwnd = oIEApp.HWND
THERE V R IDENTIFYING BROESER THRU HWND