This is a migrated thread and some comments may be shown as answers.

How to use RowCounts of a table

3 Answers 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 22 Apr 2013, 12:56 PM
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

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 25 Apr 2013, 09:25 AM
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
0
Michael
Top achievements
Rank 1
answered on 25 Apr 2013, 09:32 AM
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



0
Plamen
Telerik team
answered on 25 Apr 2013, 10:02 AM
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
Tags
General Discussions
Asked by
Michael
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Michael
Top achievements
Rank 1
Share this question
or