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

Problems with identifying RadWindows in a new envrionment

1 Answer 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 09 Sep 2011, 09:51 PM
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.

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 12 Sep 2011, 10:34 AM
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!
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or