07-19-2012, 06:21 PM
This is my script ....
it gives pass result but Browser("dft").Page("xyz") page does not open
Thanks
sia
it gives pass result but Browser("dft").Page("xyz") page does not open
Code:
url_Value=Browser("abc").Page("qtp").Link("Movies").GetRoProperty("href")
if len(url_Value)>0 then
Browser("abc").Page("qtp").Link("Movies").Click
wait(2)
If Browser("dft").Page("xyz").Exist Then
Reporter.ReportEvent micPass,"Pass","valid link"
else
Reporter.ReportEvent micFail,"Fail","invalid link"
End If
Thanks
sia