What is the namespace for HierarchyConstraint

7 posts, 0 answers
  1. John
    John avatar
    11 posts
    Member since:
    Nov 2012

    Posted 16 Nov 2012 Link to this post

    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);

     

     


  2. John
    John avatar
    11 posts
    Member since:
    Nov 2012

    Posted 16 Nov 2012 Link to this post

    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.

  3. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 16 Nov 2012 Link to this post

    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
  4. John
    John avatar
    11 posts
    Member since:
    Nov 2012

    Posted 16 Nov 2012 Link to this post

    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.
  5. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 16 Nov 2012 Link to this post

    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
  6. John
    John avatar
    11 posts
    Member since:
    Nov 2012

    Posted 16 Nov 2012 Link to this post

    BTW... you video does not seem to have any audio. Was this intended?
  7. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 16 Nov 2012 Link to this post

    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
Back to Top