Object not Visible message - 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: Object not Visible message (/Thread-Object-not-Visible-message) |
Object not Visible message - s2002h69 - 04-07-2010 Hi, Running QTP 10 on Win 7, I noticed that pop-up boxes, whether it's VB Success or VB Failure, are being clicked on by QTP (the pop-up occurrs QTP clicks OK) then immediatly after, I receive the following: Object not Visible Line (22): Code: Browser("xxxx.com").Dialog("VBScript:Success").WinButton ("OK).Click". Thanks RE: Object not Visible message - tester_rahul - 04-07-2010 There seems to be some problem with synchronization. can you paste the code that you are using? RE: Object not Visible message - s2002h69 - 04-07-2010 Hi, Here is a code snippet: Code: Browser("Software.COM").Page("Software.COM").Frame("Navigation").Link("Participants").Click RE: Object not Visible message - charmieaka - 04-08-2010 I also got the same problem everytime I encountered a pop-up box and Web Page dialog box; The object are always not visible or recognized. For the issue of clicking OK button, I've got this solution (somewhere in this forum or other sites): that you need to insert a script (Sending a Key Command) after the step of clicking OK button. You can insert this: Code: Set oShell = CreateObject("WScript.Shell") Please Help. because I cannot progress to my QTP lessons since the application I'm testing have lots of this. Thanks! RE: Object not Visible message - s2002h69 - 04-08-2010 The thing is, this was working, so I hate to make any code changes. I would just like to know why this message is now appearing and what it means. Solution to this problem: https://www.learnqtp.com/forums/Thread-QTP-object-not-visible?pid=10791 |