Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Methods for Applications
#1
Solved: 11 Years, 3 Months ago Question 
How to get methods available for application which is opened by using createobject function...

e.g.

Code:
dim xl
set xl=createobject("excel.application")
xl.visible=true
xl.[b]workbooks[/b].add
'xl.[b]workbooks.[/b]open "path of the file"
xl.[b]sheets[/b]("[i]Sheetid[/i]").select
val=xl.[b]cells[/b](row,column).value
print val
xl.quit
set xl=nothing

here I used some methods available for Excel,

How to get methods for different applications like, Access, Word, Outlook....etc?
Reply
#2
Solved: 11 Years, 3 Months ago
Good question, awaiting answer for it! Smile
Reply
#3
Solved: 11 Years, 3 Months ago
The way we have Automation Object Model(AOM) for QTP...similarly MS has created object models for the applications mentioned by you... You need to digg into the corresponding object model on MSDN site for complete reference.

Here is a link to excel object model and word object model.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#4
Solved: 11 Years, 3 Months ago
Thank You Ankur,

These links are very helpful to get the objects of excel,word,...etc.,
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Deal with AngularJS Applications with UFT 15 nistalaramesh 0 1,220 07-29-2021, 09:53 PM
Last Post: nistalaramesh
  why error if available methods are used. AAB 3 3,090 06-14-2012, 11:28 AM
Last Post: AAB
  GetObject with 2 applications open berula 0 3,651 03-15-2011, 06:19 PM
Last Post: berula
  Is there any Inbuilt Methods to control the IE Browser. ritesh 2 2,162 04-26-2010, 05:11 PM
Last Post: ritesh
MyBB Descriptive Programming in Window Applications. Amit Singh Chauhan 2 14,540 06-05-2008, 12:42 AM
Last Post: somisays

Forum Jump:


Users browsing this thread: 1 Guest(s)