Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to chk alert given is correct or not.
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi,
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
Reply


Messages In This Thread
RE: How to chk alert given is correct or not. - by MR21135 - 11-07-2008, 02:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  correct use of OR statement lotos 2 2,892 06-02-2011, 02:52 PM
Last Post: lotos
  Is the split array method the correct tool for the job? qatestbrian 0 2,113 01-06-2010, 02:06 AM
Last Post: qatestbrian
  How to select correct list? rahul1234 1 2,386 10-14-2009, 12:55 PM
Last Post: Saket
  Email Alert v890115 6 4,079 09-03-2009, 02:39 AM
Last Post: v890115

Forum Jump:


Users browsing this thread: 1 Guest(s)