can't defined/Set object - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: can't defined/Set object (/Thread-can-t-defined-Set-object) |
can't defined/Set object - yaniv mendelson - 12-23-2010 hello, I've installed new QTP on new machine but have problems setting new object using CreateObject method. for example using this code line : Set objExcel=CreateObject ("Excel.Application") returns "object" instead of excel application and no proprieties for the object is available e.g. for other machines it's work fine...(see attachments) any suggestions ? Thanks Yaniv Mendelson Clarizen RE: can't defined/Set object - manishbhalshankar - 12-24-2010 Hi Yaniv, Download and register the latest version of pmd.dll (version 9), you will get the properties. Note: You will have to restart QTP. Restarting the machine is also recommended. RE: can't defined/Set object - yaniv mendelson - 12-26-2010 Hi Manish thank you for your answer , it's actually pdm.dll yes? (it's come with Microsoft script debugger or VS2010-08) RE: can't defined/Set object - manishbhalshankar - 12-27-2010 Yes Yaniv, its pdm.dll. It comes with visual studio, you can also get the latest version from net (google). It can also be found in the installation directory of IE 8. Make sure you choose the right version (32 or 64 bit). |