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

What is the namespace for HierarchyConstraint

6 Answers 70 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 16 Nov 2012, 05:45 PM
When I search the documentation it only comes up in a small example in the Find Expression subject.  Also this documentation would be much better if there were more and better samples, e.g. the Find Expression page tells you how to create an expression but not how or where it is used.  I am assuming that I am using it correctly by doing something like this -

Pages.HomeCORS.Find.ByExpression<ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor>(expression)

.Wait.ForExists(10000);

 

 


6 Answers, 1 is accepted

Sort by
0
John
Top achievements
Rank 1
answered on 16 Nov 2012, 06:17 PM
I found it.  The namesapce is

ArtOfTest.Common


No thanks to your poor documentation.
  1. I am currently using the Trial Version of this tool and there are some things that I really like about it.

1. It actually interacts with the DOM unlike MS CodedUI
2. You can modify tests using C# .Net

However, the thing that I don't like about this is the fact that I need to switch between two different tools constantly.  A pluggin for Visual Studio would be great.  I also wish you had better documentation and examples.

0
Cody
Telerik team
answered on 16 Nov 2012, 06:26 PM
Hello John,

We have a Visual Studio plug-in! There are also many pages of code documentation and code samples:

http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/write-tests-in-code/intermediate-topics/settings-and-configuration/settings-class.aspx

http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/access-oracle-database.aspx

And here's a video I just created demonstrating how to debug coded steps in Visual Studio:
http://www.screencast.com/t/a2rKyTqsea

Regards,
Cody
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
0
John
Top achievements
Rank 1
answered on 16 Nov 2012, 06:44 PM
Thanks you for your help.  There may be many pages of documentation but I should be able to type 'HierarchyConstraint' in the search and find documentation explaining about that object.  What is it's namespace, how is it used, what methods and properties, etc...  Instead it takes me back to an incomplete example which is what got me here in the first place.
0
Cody
Telerik team
answered on 16 Nov 2012, 07:00 PM
Hi John,

I see what you mean. Searching for HierarchyConstraint is supposed to bring up this link in the search results: http://www.telerik.com/automated-testing-tools/support/documentation/online-api-reference/html/T_ArtOfTest_Common_HierarchyConstraint.htm. I'm going to bring this up with our website team to try and find out why it's being excluded from the search results.

All the best,
Cody
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
0
John
Top achievements
Rank 1
answered on 16 Nov 2012, 07:10 PM
BTW... you video does not seem to have any audio. Was this intended?
0
Cody
Telerik team
answered on 16 Nov 2012, 07:42 PM
Hello John,

Yes, that was intentional. We, the Test Studio technical support team, aren't the ones that create our training videos. Our evangelist normally handles that job. We try to create short simple videos that should be self explanatory and skip recording audio.

Greetings,
Cody
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
Tags
General Discussions
Asked by
John
Top achievements
Rank 1
Answers by
John
Top achievements
Rank 1
Cody
Telerik team
Share this question
or