Fetch Data From Specific Column

How to fetch data from the specific column in the data grid? How will standard check point help to capture data?

Questions by sandy kiran

Showing Answers 1 - 1 of 1 Answers

akothuru

  • Jul 24th, 2009
 

Standard check point will only verifies the Webtable object property values and is not possible to use check points to verify the cell value from WebTable.

Use WebTable object GetCellData method to retrieve the cell value and then use if condition to verify the value. It only the way, you can verify the cell value of the webtable.

E.g.
varCellData = Browser().Page().WenTable().GetCellData(1,1) 'row, col
If varCellData = "Desired Value" Then
   Repoerter.ReportEvent micPass, "Cell data verification is passed", "Pass"z
Else
   Repoerter.ReportEvent micFail, "Cell data verification is failed.  Expected value: 'Desired Value' and Actual value: " & varCellData, "Fail"
End If

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions