Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetObject with 2 applications open
#1
Not Solved
Hi all,
I search a way to use GetObject when Excel is open 2 times.
I test a Application (VB) that open's an Excel an then put data into an ExcelSheet.
I must read this data in QTP, but if I hook to Excel with
Set objExcel = GetObject(,"Excel.Application")
their is a hiden Excel with no Workbook open.
In TaskManager I can see that there are 2 Excel open, but only one ist visible.
How can I access the second Excel. this 2. Excel has an Workbook and an active Sheet.

Is there a way to hook into an Applikation with an ID,PID, Index or so on?
thanks
Ralf
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Deal with AngularJS Applications with UFT 15 nistalaramesh 0 1,021 07-29-2021, 09:53 PM
Last Post: nistalaramesh
  Unable to open a file using open file dialog windows vista umer830 10 13,431 12-21-2009, 01:48 PM
Last Post: Saket
Question Methods for Applications bfakruddin 3 2,786 01-06-2009, 01:58 PM
Last Post: bfakruddin
MyBB Descriptive Programming in Window Applications. Amit Singh Chauhan 2 14,256 06-05-2008, 12:42 AM
Last Post: somisays

Forum Jump:


Users browsing this thread: 1 Guest(s)