QTP not able to identify my Browser, has anybody experienced this issue? - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: QTP not able to identify my Browser, has anybody experienced this issue? (/Thread-QTP-not-able-to-identify-my-Browser-has-anybody-experienced-this-issue) |
QTP not able to identify my Browser, has anybody experienced this issue? - lotos - 08-05-2010 Hi All, when I am running the test I am getting the following error: Quote:Cannot identify the object "[ Browser ]" (of class Browser). Verify that this object's properties match an object currently displayed in your application.Can anybody let me know how can I resolve this problem. I am using it's calls in next way: Code: Dim URL: URL = "http://theURL.com" And it is called in a class' function like this: Code: Public Function TextBox And now the class is called like this: Code: With TextBox RE: QTP not able to identify my Browser, please help - it is very URGENTLY - Saket - 08-05-2010 I think the name is causing the issue here obj_WebBrowser ("name").value = "Microsoft Internet Explorer" keep it as ".* Microsoft Internet Explorer", should solve your issue. I always noticed that if you put anything like 'Urgent', 'ASAP' etc, you will never get a reply . That means, it seems members here does not like these words . read posting guidelines. RE: QTP not able to identify my Browser, please help - it is very URGENTLY - lotos - 08-05-2010 Hello Saket, thanks a lot, but I tried a lot of type of descriptions for objects, for e.g. I used next: Code: Set obj_WebBrowser = Description.Create Also in some tests this issue doesn't appears, but in ~90% of tests it's appears.. about the: Quote:I always noticed that if you put anything like 'Urgent', 'ASAP' etc, you will never get a reply . That means, it seems members here does not like these words . read posting guidelines.also Thanks! RE: QTP not able to identify my Browser, has anybody experienced this issue? - Saket - 08-05-2010 try to add "Creationtime" description as well, see if that helps RE: QTP not able to identify my Browser, has anybody experienced this issue? - venkatbatchu - 08-05-2010 Also u could go with "HWND property" it would useful try with this Venkat.Batchu RE: QTP not able to identify my Browser, has anybody experienced this issue? - rkkumar - 03-07-2012 I see you have special characters in your openurl.Try replacing those with character codes/regular expression. RE: QTP not able to identify my Browser, has anybody experienced this issue? - sshukla12 - 03-12-2012 Hi, Don't go for so much properties to create a description, u can use Dim URL: URL = "http://wasce.wasce.st/RBSIFCSM/" Code: Set obj_WebBrowser = Description.Create Code: obj_WebBrowser ("micclass").value = "Browser" Code: Set obj_WebPage = Description.Create Regards, Sankalp |