SelectAllItems method missing with new update

4 posts, 0 answers
  1. Jeff
    Jeff avatar
    16 posts
    Member since:
    Sep 2013

    Posted 11 Dec 2014 Link to this post

    I just updated Test Studio to the newest version this morning.  Now a bunch of my old tests are broke that were written in Visual Studio using the telerik testing framework.  I get the following error. 

    Error 6 'Telerik.WebAii.Controls.Html.GridTableView' does not contain a definition for 'SelectAllItems' and no extension method 'SelectAllItems' accepting a first argument of type 'Telerik.WebAii.Controls.Html.GridTableView' could be found (are you missing a using directive or an assembly reference?) 

    I do have Telerik.WebAii.Controls.Html in my project references.  I even removed the reference and added it again.  Did the SelectAllItems method get taken away?

    Thanks,

    Jeff

  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 16 Dec 2014 Link to this post

    Hello Jeff,

    SelectAllItems method should still work. 

    Could you please send us your test project so we can debug the issue.

    You can send us just some sample demo.

    Hope to hear from you soon.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. Jeff
    Jeff avatar
    16 posts
    Member since:
    Sep 2013

    Posted 19 Dec 2014 in reply to Boyan Boev Link to this post

    Here is the code that is failing.  If you need more than this let me know.  I get the error message described in my first post when trying to use the SelectAllItems method.

            public void SelectAllGridRows(string gridId)
            {
                cw.Find.ById<HtmlDiv>(gridId).Find.ByAttributes<RadGrid>("class=RadGrid RadGrid_Default").MasterTable.SelectAllItems();
            }

    Thanks, Jeff
  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 24 Dec 2014 Link to this post

    Hi Jeff,

    What exactly do you want to achieve with that code? You are using two find methods in a single row which is not recommended.

    What compilation errors do you get with that code?

    Please send us a screen shot of the DOM tree so we can help you with the code.

    Hope to hear from you soon.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!