Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to close the new browser - when clicked on attachment
#1
Solved: 11 Years, 3 Months, 2 Weeks ago
Dear All,

Hope you are doing well. I am facing a silly problem.

scenario is like this:
1. On a webpage, I need to add few attachments with extensions like .txt, .doc, .xls, .jpg, .bmp etc
2.After that when I click on those links (example: samplefile.txt or samplefile.bmp) for some of the filetypes, new browser is getting opened (for all image files and text files, new browser gets opened)
3.I need to close this browser --this is the verification procedure to validate that the file has been opened.

I tried with If Browser("CreationTime:=1").exist then Browser("CreationTime:=0").close

On my application, 1st browser is QCenter 2nd will be my application and this 3rd browser gets opened when I click on these image files, new browser gets opened, it has to be closed.

I want to close the recently opened browser.

Please provide me solutions ASAP.
Thanks,
kishore
Reply


Messages In This Thread
Unable to close the new browser - when clicked on attachment - by kkishore123456 - 05-19-2010, 09:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to Close UFT 14.53 through AOM Object y.srihari 1 2,366 12-26-2019, 08:43 PM
Last Post: y.srihari
  Using UFT 14.0 on Win 10, unable to find 'Register New Browser Control' utility soujanya 2 3,195 04-23-2018, 07:24 PM
Last Post: soujanya
  UFT 12.0 is unable to identify the java Applet on Safari browser(MAC OS) Mahesh Kolla 0 2,745 05-29-2014, 12:49 PM
Last Post: Mahesh Kolla
  Close Tab Recognizes GetROProperty. WHY??? Ayesha 5 4,065 07-24-2013, 10:39 AM
Last Post: vinod123
  How to find the latest modified file in QC11 current test attachment using QTP10 shiv.cse 0 1,874 07-23-2013, 01:25 AM
Last Post: shiv.cse

Forum Jump:


Users browsing this thread: 2 Guest(s)