Hello,
I've created a bunch of tests for our testing branch of our site. They run no problem.
However, we now wish to run them against staging but they are now returning with errors such as "unable to find element" when it's source is targeting the old testing URL of the site.
I remember there was a way to make a test's entirety refer to a certain URL base source. Anyone have any ideas?
I've created a bunch of tests for our testing branch of our site. They run no problem.
However, we now wish to run them against staging but they are now returning with errors such as "unable to find element" when it's source is targeting the old testing URL of the site.
I remember there was a way to make a test's entirety refer to a certain URL base source. Anyone have any ideas?
5 Answers, 1 is accepted
0
Hi Andrew,
This KB article is dedicated to how to make your tests run in multiple environments.
Regards,
Cody
Telerik
This KB article is dedicated to how to make your tests run in multiple environments.
Regards,
Cody
Telerik
0
Andrew
Top achievements
Rank 1
answered on 24 Jul 2014, 06:19 PM
Like I feel as though BaseURL is the right answer but don't know how it may help this situation.
While trying to test on staging:
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:name=rwSelectROL,src=http://testing.foo.ca/bar.ROL/Components/ROL/Admin/ROLSelection.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
While trying to test on staging:
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:name=rwSelectROL,src=http://testing.foo.ca/bar.ROL/Components/ROL/Admin/ROLSelection.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
0
Hi Andrew,
I understand trying to figure out how to make it work in a specific scenario is not always obvious. I can help you get started but I need a couple more pieces of information.
1) I need a complete copy of your test project so I can analyze it and advise you how to correctly change it. I'm sending you an email invitation (to astebel@ivey.uwo.ca) to a private drop box folder that you can upload it to.
2) Go to Step Failure Details, find and click Export and send me the generated .zip file. That will tell me where we need to focus our efforts at to start with.
Regards,
Cody
Telerik
I understand trying to figure out how to make it work in a specific scenario is not always obvious. I can help you get started but I need a couple more pieces of information.
1) I need a complete copy of your test project so I can analyze it and advise you how to correctly change it. I'm sending you an email invitation (to astebel@ivey.uwo.ca) to a private drop box folder that you can upload it to.
2) Go to Step Failure Details, find and click Export and send me the generated .zip file. That will tell me where we need to focus our efforts at to start with.
Regards,
Cody
Telerik
0
Andrew
Top achievements
Rank 1
answered on 01 Aug 2014, 05:42 PM
Uploaded everything you wanted Cody.
0
Hi Andrew,
I am sorry but where did you upload them to? I see no files attached to your post.
Regards,
Cody
Telerik
I am sorry but where did you upload them to? I see no files attached to your post.
Regards,
Cody
Telerik