I'm trying to record the following activities:
- Click a link in a web page to download an excel file
- When "File Download" popup shows, click "Open"
- After Excel application opens, close the Excel window
However, QTP doens't recognize the Excel window at all, although "Window("Microsoft Excel")" is recorded in my object repository.
Re: Excel window is not recognized when open from web
You mean Window("Microsoft Excel").close is throwing error..??
Some of things you can try:
Check if you more windows open, not closed during the other runs.
Check the object properties, if any unique property is infact added to the repository.
Highlight the object from the repository to check if it is being recognized.
For working with excel, the best way is to use Excel objects.