Ad Home

Theme images by kelvinjay. Powered by Blogger.

Travel

Header Ads

Java

Selenium

UFT

Framework

General QA Concept

BDD

» » Code to Close a particular Browser

I know there are several methods to close a Browser but this is a smart one..

Sub CloseBrowser(iHwnd)
if browser("hwnd:="&iHwnd).Exist(3) then
browser("hwnd:="&iHwnd).close
end if
end Function
call CloseBrowser iHwnd

«
Next
Newer Post
»
Previous
Older Post

No comments:

Leave a Reply