Will BaseURL help?

2 posts, 0 answers
  1. Dan
    Dan avatar
    10 posts
    Member since:
    Aug 2012

    Posted 12 Sep 2011 Link to this post

    Hi All,

    Will BaseURL help me to differentiate and access URLs as distinct as these three?

    Here are 3 URLs when I logged into my basic system screen, with the parts I understand in color (key below) and a few questions afterwards:








    Specific server/company I’m testing

    Remainder of URL (I was on same page for all three when I copied URL.)

    User ID (my logged user ID (system assigned))

    My questions are:

    Will the "MasterGuid" cause me any difficulty in record/playback?

    What if I want to change up users I'm logged in as?

    Any advice on things to watch out for? (Links to articles/posts are fine...I'm pretty new to this.)

    Thanks for your time!
  2. Anthony
    Anthony avatar
    19 posts

    Posted 12 Sep 2011 Link to this post

    Hello Dan,

    Does the portion in green represent a different physical server, or different directories on the same server corresponding to the company chosen? If your goal is to record one script and execute it across three environments, that can easily be accomplished. Although elements are visually organized under their respective page nodes in the Elements Explorer, Test Studio disregards this hierarchy during execution and simply locates the element based on its Find Settings. As long as the element can be found the same way across each environment, and you use the FullPath Compare Mode as explained below, your test will be reusable.

    Yes, our BaseURL feature is applicable for your environment. You will enter "https://gisqual.grinnellmutual.com/DRC01100/" into the BaseURL setting in Project Settings > Recording Options. Change it when you're ready to test in the next environment. Also, before recording, set the Elements Page Compare Mode the FullPath. This omits the query, which is dynamic in your case.

    1 & 2. The MasterGuid and User ID are part of the query (the ? mark and everything that follows) and will be ignored to locate elements if the Compare Mode setting, mentioned above, is set appropriately.

    3. Please see our KB article on Using BaseURL.

    Kind regards,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top