"Object not visible" when running desktop link - 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" when running desktop link (/Thread-Object-not-visible-when-running-desktop-link) |
"Object not visible" when running desktop link - RandomGrin - 12-12-2012 Hey all, Spent hours Googling this one... I record the running of my app from the desktop link (either double click, or right-click -> Run, doesn't matter), and I get: Code: Window("Program Manager").WinListView("SysListView32").Activate "ACO" When I run it, I get, 'Object not visible' on that line. I have gone to Tools -> Object Identification -> Mandatory Properties and set Visible for Window and for WinListView. I have re-recorded it multiple times. I am new to QTP, so I may be doing something stupid...but I also made sure the object was in the Object repository, and seems to be associated w/it as far as I can tell. Tried everything I can find on Google, they mostly talk about pop up windows having this problem. I have the latest patches, at least according to Help-> HP Update. QTP 11.00 Windows 7 Pro. Thanks for any help, Mark RE: "Object not visible" when running desktop link - sshukla12 - 12-12-2012 Hi, If u want to run the application then instead of recording the double click on ur application shortcut just include the statement Systemutil.run(path of exe your application) Regards, Sankalp RE: "Object not visible" when running desktop link - RandomGrin - 12-12-2012 I hate to leave problems unresolved....but that's a good work-around, I'll take it, thanks! |