Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Handling Excel opened in an IE browser
#1
Need little help in automating this scenario

I click on a link in my Web application page, which will launch a 'File Download' dialog box that asks the user to Open or Save the file. On clicking the Open button, an Excel sheet opens up in an IE browser. I need to catch hold of that screen, close it and get back to my Web application browser screen. Using Record and Play, the handling of the Excel browser screen is not being coded/shown.

Please help.

Thanks,
LT
Reply
#2
you use/take help the below sample code for new excel sheet which is opening in the new IE
Code:
Browser("CreationTime:=1").Dialog("text:=its property").WinButton("text:=OK").Click Browser("CreationTime:=1").Sync If Browser("CreationTime:=1").WebElement("its property").exit then msgbox "Excel file opened" else msgbox "Excel file not opened" End if Browser("CreationTime:=1").Close
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [UFT] Close opened folder robertosalemi 1 3,877 02-10-2016, 07:06 PM
Last Post: robertosalemi
  Error while saving an already opened Excel TurtleRock 1 3,915 08-28-2014, 06:35 PM
Last Post: dplank
  Can QTP AOM identify word documents that are already opened anil2u 2 4,953 09-05-2013, 12:45 PM
Last Post: anil2u
  error object disabled on line 9 where it says " Browser("Browser").CloseAllTabs" kp_usa 1 3,792 12-20-2012, 12:20 AM
Last Post: adityapant27
  My IE Browser Recognizing as Window instead of Browser. sivakrishna 4 9,810 02-11-2012, 12:19 AM
Last Post: ravi.gajul

Forum Jump:


Users browsing this thread: 1 Guest(s)