Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detail info about createObject()
#1
Solved: 11 Years, 3 Months, 2 Weeks ago
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
Reply
#2
Solved: 11 Years, 3 Months, 2 Weeks ago
refer object model of the application you want to use.

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  help about CreateObject stevol 23 42,051 04-16-2019, 11:58 AM
Last Post: swethareddy
  Need list of "objects" used in qtp by using "CreateObject" SaranKumarV 2 15,511 09-15-2010, 05:03 PM
Last Post: SaranKumarV
  info about dontnet & vb apps azar80 0 1,599 01-09-2010, 12:55 AM
Last Post: azar80
  Reg Expression_In Detail 1981.madhu@gmail.com 1 2,606 09-18-2009, 11:09 AM
Last Post: Saket
  Unable to get the values from oracle 10g form detail block ravick16 0 2,370 07-15-2009, 02:42 AM
Last Post: ravick16

Forum Jump:


Users browsing this thread: 1 Guest(s)