Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Table check point.
#1
Solved: 11 Years, 4 Months ago
Hi

I used table check pt in my test.. In that i hav givevn the expected value.. After running the test it showing cell not found.. But the value in the table is correct what i have mentioned.. I don know how to solve this.. Plz help me.. Thanks in advance.

Regrads,
Preetha.Wink
Reply
#2
Solved: 11 Years, 4 Months ago
It would be highly appreciable if you could paste the code you have tried so far ? That helps us understand better.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#3
Solved: 11 Years, 4 Months ago
Hi Preetha,

The best way to handel this would be dont use table checkpoint rather use combination If Else and For Next as below,

For Ex:
Code:
rowcount=Browser().Page().Frame().WebTable().GetRowCount
colcount=Browser().Page().Frame().WebTable().GetColumnCount

For i=1 to rowcount
For j=1 to colcount
arr=Browser().Page().Frame().WebTable().GetCellData(rowcount,colcount)
If arr=expectedvalue then
Reporter.reportevent micPass,"",""
Else
Reporter.reportevent micFail,"",""
End If

Regards,
Raghav
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  To check table is sortable or not. Zalavadia86 0 1,213 10-13-2016, 06:48 PM
Last Post: Zalavadia86
  QTP standard check point Error? Ramadas 0 2,291 10-31-2013, 01:23 PM
Last Post: Ramadas
  Synchronization point vasanthibv@gmail.com 2 3,510 08-08-2012, 05:54 PM
Last Post: pradeep singh
  Synchronization point vasanthibv@gmail.com 2 3,148 08-07-2012, 03:26 PM
Last Post: Tarik Sheth
  synchronization point balatester 4 17,907 01-18-2012, 02:57 PM
Last Post: zeeshanyshaikh

Forum Jump:


Users browsing this thread: 3 Guest(s)