05-19-2010, 09:39 AM
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
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