A good way to not have problems with opened browsers, you can use Browser().Close method at the end of each test (or within the last action, last step), or you can write a function as next and use it where you'll need it:
to call this function from the *.qfl file, use in you test next:
CloseBrowser 'that's it
it's working very good in all my tests..
Code:
[b]Public Function[/b] CloseBrowser
Reporter.[b]Filter[/b] = rfDisableAll
[color=#808000]'closing the browser[/color]
[b]If[/b] Browser([color=#FF6347]"URL:=http://environment1/.*"[/color]).Exist [b]Then[/b]
Browser([color=#FF6347]"URL:=http://environment1/.*"[/color]).[b]Close[/b]
[b]End IF[/b]
[b]If[/b] Browser([color=#FF6347]"URL:=environment2/.*"[/color]).Exist [b]Then[/b]
Browser([color=#FF6347]"URL:=environment2/.*"[/color]).[b]Close[/b]
[b]End IF[/b]
Reporter.[b]Filter[/b] = rfEnableAll
End Function
to call this function from the *.qfl file, use in you test next:
CloseBrowser 'that's it
it's working very good in all my tests..