EntireURL, CompareURL

5 posts, 1 answers
  1. Tim
    Tim avatar
    5 posts
    Member since:
    Oct 2013

    Posted 13 Dec 2013 Link to this post

    In the Element Properties window there appear two properties whose use I am unsure of. I understand they deal with baseURL functionality, but I would be grateful if someone could explicitly explain what they are for. The properties in question are:

    CompareURL and EntireURL

    In fact - if there is a document which explicitly explains all of the properties on the element property page, then I would love to see it.

    Thank you!
  2. Answer
    Mario
    Admin
    Mario avatar
    8 posts

    Posted 18 Dec 2013 Link to this post

    Hi Tim,

    Thank you for your interest in Test Studio, please excuse my delay in getting back to you.

    These properties, CompareURL and EntireURL, are used by Test Studio to format and populate page nodes along with any elements they may contain to be displayed by your elements explorer. EntireURL is the full URL of the particular page node, this value is taken at recording. CompareURL is a 'section' of the EntireURL which is used for comparison when Test Studio is making the decision of what node to place a newly added element under. The 'section' used is determined by the CompareMode property, the various options (eg. FullPath, RelativePartAndQuery, etc) are all explained here in our documentation. The project setting depicted in the previous link will set the default value for newly recorded page nodes, existing ones need to be changed manually from their properties. This article on the procedure of merge page nodes should further explain how this property can be used.

    I hope the information above will help to clarify the usefulness of these properties, however BaseUrl does not really tie in with them quite so directly. This article will explain the usefulness of the BaseUrl feature.

    Please let me know whether you have any additional questions.

    Regards,
    Mario
    Telerik
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. Tim
    Tim avatar
    5 posts
    Member since:
    Oct 2013

    Posted 18 Dec 2013 Link to this post

    Thank you! This is very helpful indeed.
  4. Tim
    Tim avatar
    5 posts
    Member since:
    Oct 2013

    Posted 18 Dec 2013 Link to this post

    An aside - do you know why when I:

    1. Go to a previously recorded test
    2. Make a change to a frame's setting in the element explorer (ex. check "UseBaseUrlHost", or modify baseURL by adding a caret)
    3. Save my test
    4. Close Test Studio
    5. Re-open Test Studio

    I will then find that my changes to the frame's settings were NOT saved (if I had checked "UseBaseUrlHost" it will now be unchecked again).

    Thanks!
  5. Mario
    Admin
    Mario avatar
    8 posts

    Posted 23 Dec 2013 Link to this post

    Hi Tim,

    I believe this issue is identical to your other bug report ticket #768980 which I have already responded to. To prevent duplication of effort, lets continue our conversation there.


    Regards,
    Mario
    Telerik
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top