01-20-2017, 01:53 AM
(This post was last modified: 01-20-2017, 01:56 AM by SOUMYADEEP.)
I am using the following code to highlight browser instance (only 1 browser instance exists) Browser("CreationTime:=-1").highlight
Sometimes the code is highlighting the only browser instance available while sometimes it is showing "No object found". I have read in QTP unplugged by tarun lalwani that if 1 browser instance exists then Browser("CreationTime:=-1").exist(5) will return true. Please tell what i am doing wrong or understanding wrong here.
I am trying to do certain operations if only 1 browser instance is present. Browser("creationtime:=0") will exist for both 1 instance of browser and multiple instances of browser.
Sometimes the code is highlighting the only browser instance available while sometimes it is showing "No object found". I have read in QTP unplugged by tarun lalwani that if 1 browser instance exists then Browser("CreationTime:=-1").exist(5) will return true. Please tell what i am doing wrong or understanding wrong here.
I am trying to do certain operations if only 1 browser instance is present. Browser("creationtime:=0") will exist for both 1 instance of browser and multiple instances of browser.