Public Function func_closeBrowsers()
Dim oBrowser 'to store browser object description
'Create description object
Set strOpenBrowser = Description.Create
strOpenBrowser("creationtime").Value = 0
'close all open browsers
While Browser(strOpenBrowser).Exist(0)
Browser(strOpenBrowser).Close
Wend
'verify whether all the opened browsers are closed or not.
If Browser(strOpenBrowser).Exist(0) = False Then
func_closeBrowsers = True
sub_reportSuccess "Close Browser", "All browsers are closed successfully"
Else
func_closeBrowsers = False
End If
End Function 'End of 'closeBrowsers' function.
Tuesday, May 7, 2013
Close all browsers
Best practices for test automation in agile software development
Agile software development is a highly iterative and collaborative approach to software development that emphasizes flexibility and a...
-
Agile software development is a highly iterative and collaborative approach to software development that emphasizes flexibility and a...
-
Test-Driven Development (TDD) is a software development approach that emphasizes writing automated tests before writing the code. The appr...
-
Artificial intelligence (AI) and machine learning (ML) are transforming the field of software testing by enabling faster and more accurate...