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

EntireURL, CompareURL

4 Answers 279 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 13 Dec 2013, 07:48 PM
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!

4 Answers, 1 is accepted

Sort by
0
Accepted
Mario
Telerik team
answered on 18 Dec 2013, 04:34 PM
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!
0
Tim
Top achievements
Rank 1
answered on 18 Dec 2013, 04:49 PM
Thank you! This is very helpful indeed.
0
Tim
Top achievements
Rank 1
answered on 18 Dec 2013, 06:08 PM
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!
0
Mario
Telerik team
answered on 23 Dec 2013, 04:55 PM
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!
Tags
General Discussions
Asked by
Tim
Top achievements
Rank 1
Answers by
Mario
Telerik team
Tim
Top achievements
Rank 1
Share this question
or