Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Handling Excel opened in an IE browser
#2
Solved: 10 Years, 9 Months, 3 Weeks ago
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


Messages In This Thread
Handling Excel opened in an IE browser - by eltee - 04-08-2011, 03:56 PM
RE: Handling Excel opened in an IE browser - by Jay - 04-08-2011, 05:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [UFT] Close opened folder robertosalemi 1 3,166 02-10-2016, 07:06 PM
Last Post: robertosalemi
  Error while saving an already opened Excel TurtleRock 1 3,278 08-28-2014, 06:35 PM
Last Post: dplank
  Can QTP AOM identify word documents that are already opened anil2u 2 4,098 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,133 12-20-2012, 12:20 AM
Last Post: adityapant27
  My IE Browser Recognizing as Window instead of Browser. sivakrishna 4 8,712 02-11-2012, 12:19 AM
Last Post: ravi.gajul

Forum Jump:


Users browsing this thread: 1 Guest(s)