Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checkpoint in QTP for a count that increases
#2
Not Solved
Hi,

This is how you do

Before submitting capture the value 0 from that field(either edit box..or something)

Code:
Res1= Browser("...").Page("......").Webedit("....").GetROProperty("Value")

now do that submission and the do the following

Res2= Browser("...").Page("......").Webedit("....").GetROProperty("Value")

If Res2-Res1 =1 Then
Reporter.ReportEvent 0, "Increase Check", "Value is increased as expected"
Else
Reporter.ReportEvent 1, "Increase Check", "Value is not increased"
End If
Reply


Messages In This Thread
RE: Checkpoint in QTP for a count that increases - by rameshrise3 - 03-22-2012, 11:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)