11-07-2008, 02:40 PM
Hi,
Try using Text Checkpoint or you can use Browser("").Page("").Dialog("").GetVisibleText and then compare with expected result
Example:
Try using Text Checkpoint or you can use Browser("").Page("").Dialog("").GetVisibleText and then compare with expected result
Example:
Code:
vactresult = Browser("").Page("").Dialog("").GetVisibleText
If Instr(1, "Roll number already exists", Trim(vactresult)) = 0 Then
Msgbox "Fail"
End If