06-11-2012, 12:38 PM
Hello everyone...
i m testing a website ... and was trying to execute the following code
on clcik of this....
Browser("pqr") should open...
code:
if return code is like this ...it gives pass result but does not open
browser (pqr)
plz suggest me what to do?
i m testing a website ... and was trying to execute the following code
Code:
Browser("xyz").Page("abc").WebElement("WebElement").Click
on clcik of this....
Browser("pqr") should open...
code:
Code:
Browser("abc").Page("xyz").WebElement("WebElement").Click
If Browser("pqr").Exist Then
Reporter.ReportEvent micPass,"pass","valid"
else
Reporter.ReportEvent micFail,"fail","invalid"
End If
browser (pqr)
plz suggest me what to do?