06-17-2011, 07:56 PM
Hello,
Please try by using the below code:
Regards,
Parminder
Please try by using the below code:
Code:
If Browser("Wisdom").Page("WisdomLogin").WebElement("Welcome to Wisdom").Exist(5) Then
''Browser Opened successfully in URL
Reporter.ReportEvent micPass, "Browser in URL: " & DataTable.GlobalSheet.GetCurrentRow, "URL: " & " - opened SUCCESFULLY."
Else
'Browser Failed to open in URL
Reporter.ReportEvent micFail,"Browser in URL: " & DataTable.GlobalSheet.GetCurrentRow, "URL: " & " - opened UNSUCCESFULLY."
Browser("Wisdom").Close
ExitTest
End If
Regards,
Parminder