Micro Focus QTP (UFT) Forums
Detail info about createObject() - 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: Detail info about createObject() (/Thread-Detail-info-about-createObject)



Detail info about createObject() - nandu - 11-29-2010

Hi..

How to know Servername.typename of any app..? while using createObject() in DP..?
Code:
CreateObject([color=#FF0000]ServerName.TypeName[/color], RemoteServerName)

for example.. we are creating word obj..

How to know exact TypeName of msWord or any other app..?
Where can we get this info..?

Code:
set oWord = CreateObject("Word.Application")
oWord.Documents.Open  "c:\test.docx"

How to know supported methods(oword.Documents) by msWord obj/ or any other app..?

Please provide how to get these info to practicing createObject()..
How to know TypeNames & supported Methods of any app..?

this helps a lot for newbie's of DP..

Thankx


RE: Detail info about createObject() - Saket - 11-30-2010

refer object model of the application you want to use.