03-25-2010, 08:49 PM
Hello,
We are attempting to pull data from a grid and if it has a certain value (as it might not have a value) then to pass or fail as a checkpoint based on the value.
I am able to pull the data from the cell as below and if it exists it has a value, if it does not exist then value is null.
If I used a standard checkpoint then it will fail if there is not any data in the cell. This is why I need to do the check by this or some other method.
What I am thinking is that if there is checkpoint to validate by a variable or if there is a way to write a check to the test results summary.
Sorry if this is the incorrect forum.
Regards,
Stephen
We are attempting to pull data from a grid and if it has a certain value (as it might not have a value) then to pass or fail as a checkpoint based on the value.
I am able to pull the data from the cell as below and if it exists it has a value, if it does not exist then value is null.
Code:
var_GetCellData = Browser("Browser").Page("...").WbfGrid("...GridV").GetCellData(2,5)
If I used a standard checkpoint then it will fail if there is not any data in the cell. This is why I need to do the check by this or some other method.
What I am thinking is that if there is checkpoint to validate by a variable or if there is a way to write a check to the test results summary.
Sorry if this is the incorrect forum.
Regards,
Stephen