Forum Discussion

QAConsultant's avatar
QAConsultant
Contributor
14 years ago

Testing RadGridView for newest Item

Hello,



1. I'm attempting to test a Telerik RadGridView and have the script navigate to the newest GridViewItem to assert multiple properties.

2. I've looked at the Table Checkpoint and am getting the "Object does not contain data" error.

3. In looking in Object Mapping Properties, Telerik is not listed among the controls. 



Ultimately, I need to learn the best way to test the newest grid view item and add property checkpoints.



Let me know if my information is sufficient.



Thanks,

Dan

11 Replies



  • Hello Dan,






    Please run the following routine to collect some information about your grid control (specify the grid's object) and send us the information via our Contact Support form:




    function Test()


    {


      grid = // ...


      Log.Message("rows = " + grid.wRowCount)


      Log.Message("cols = " + grid.wColumnCount)


      Log.AppendFolder("columns")


      for (var i = 0; i < grid.wColumnCount; i++)


        Log.Message(grid.wColumn(i));


      Log.PopLogFolder()


      Log.AppendFolder("cells")


      for (var r = 0; r < grid.wRowCount; r++)


      {


        Log.AppendFolder(r)


        for (var c = 0; c < grid.wColumnCount; c++)


          Log.Message(grid.wValue(r, c))


        Log.PopLogFolder()


      }


      Log.PopLogFolder()


    }





    We will look into it.