Problems with identifying RadWindows in a new envrionment

2 posts, 0 answers
  1. David
    David avatar
    45 posts
    Member since:
    Aug 2010

    Posted 09 Sep 2011 Link to this post

    The application on which I work is getting moved to a cloud environment. I have a number of automated tests that have been developed and run in a legacy test envrionment. When I run these same tests within a cloud envrionment elements within RadWindows cannot be found during test execution. The RadWindows can be found in the cloud envrironment when using the Find Element functionality within Test Studio but then in immediately running the test, the RadWindow elements cannot be found.

    Any help/guidance would be great.
  2. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 12 Sep 2011 Link to this post

    Hello David,

    I'm sorry you are experiencing this problem. RadWindow use IFrames. These IFrames contain a BaseURL that needs to be adjusted in order to work properly on different environment. The default is to do an exactly match as recorded and that is the reason your test to fail when it tries to find the RadWindow. It can't find an IFrame that matches the URL it was recorded against.
     
    To fix this you need to change the BaseURL property of the IFrame node to use partial URL matching(see screenshot).
    You can also check our KB article on "Running a Test Against Multiple Environments (Using BaseURL)". 

    Hope to here from you soon!

    Regards,
    Plamen
    the Telerik team
    Vote for Telerik Test Studio at the Annual Automation Honors Voting!
Back to Top