5 Answers, 1 is accepted
the compare mode options tells Test Studio how to store elements in a Test Project. For instance:
If you have it set to "FullPathAndQuery" the following two URLs:
http://www.google.bg/
http://www.google.bg/#sclient=psy&hl=en&source=hp&q=dasdas&aq=0&aqi=g5&aql=&oq=&pbx=1&bav=on.2,or.r_gc.r_pw.&fp=b708052797d50095
will be considered separate pages. However, there are actually the same URL but the second one includes a Query. Since Test Studio considers the separate URLs the elements you use in them will be stored in different pages (screenshot 1). In some cases this will make your project needlessly complicated. To avoid that you can set Compare Mode to "BaseURL" so all elements recorded under http://www.google.bg/ will be stored under a single page no matter what Query is attached to it.
I hope this helps.
All the best,
Stoich
the Telerik team
Register Today!
this feature is implemented only for the sake of convenience. You won't ever be explicitly required to use it - it's just a way to simply your test project and make it easier to use.
Let me know if you have any additional questions on this.
All the best,
Stoich
the Telerik team
Register Today!
Hi Stoich,
In my case My application URL changes as per the different releases (http://abcd/efg/main.aspx) next time it may be(http://xxxx/xxx/main.aspx) so will identifying logic can sort this out by just using relative path and query or identification logic is only to "it's just a way to simply your test project and make it easier to use. "
Note: For some pages title is also changing after releases.
I have already created few scripts on earlier version but now these scripts are failing because of unable to identify the frames.
so how the frames are affected by this parameters (Page URL, Title)
How page URL and Titles are used in finding element logic.
What should be my approach to take the maintenance to minimal .
Any guidelines on this will be highly apreciated
Using a BaseURL when recording/creating your tests will be the best option. Please take a look at this article for more information. At the very bottom it is explained how to deal with frames as well.
Regards,
Ivaylo
Telerik
Test Studio Trainings