How to use RowCounts of a table

4 posts, 0 answers
  1. Michael
    Michael avatar
    21 posts
    Member since:
    Apr 2013

    Posted 22 Apr 2013 Link to this post

    this doesnt work:

    table.AssertTable().RowRange(ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts.NumberRangeCompareType.OutsideRange, 1, 2);

    I do not find the Enum NumberRangeCompareType, because it is  in the Workspace

    ArtOfTest.Common.NumberRangeCompareType.InRange 

    That is not very helpful.

    A very frustrated Michael
  2. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 25 Apr 2013 Link to this post

    Hello Michael,

    You are right. They are not in the same namespace, but they are in the same assembly so you should not have any problems to use it like this:
    table.AssertTable().RowRange(ArtOfTest.Common.NumberRangeCompareType.OutsideRange, 1, 2);

    If you are having difficulty to make this to work, please provide more information on the issue you're experiencing. It would be best if you can provide us with a sample test for repro. 

    Regards,
    Plamen
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Michael
    Michael avatar
    21 posts
    Member since:
    Apr 2013

    Posted 25 Apr 2013 Link to this post

    Hm, sorry i forgot to give you the source of

    Table.AssertTable().RowRange(ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts.NumberRangeCompareType.OutsideRange, 1, 2);

    I got this from  your documentation

    http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/write-tests-in-code/intermediate-topics/html-control-suite/html-asserts.aspx

    Which cost me of my hairs



  4. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 25 Apr 2013 Link to this post

    Hi Michael,

    I am really sorry about that. It seems we forgot to update that article to reflect the latest API changes. We'll definitely do that as soon as possible. Please excuse us for the caused inconvenience.

    I have updated your Telerik points as a small token of gratitude for your feedback.

    Regards,
    Plamen
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top