Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detail info about createObject()
#1
Solved: 10 Years, 8 Months, 4 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: 10 Years, 8 Months, 4 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 41,074 04-16-2019, 11:58 AM
Last Post: swethareddy
  Need list of "objects" used in qtp by using "CreateObject" SaranKumarV 2 15,328 09-15-2010, 05:03 PM
Last Post: SaranKumarV
  info about dontnet & vb apps azar80 0 1,536 01-09-2010, 12:55 AM
Last Post: azar80
  Reg Expression_In Detail 1981.madhu@gmail.com 1 2,478 09-18-2009, 11:09 AM
Last Post: Saket
  Unable to get the values from oracle 10g form detail block ravick16 0 2,298 07-15-2009, 02:42 AM
Last Post: ravick16

Forum Jump:


Users browsing this thread: 2 Guest(s)