This question is locked. New answers and comments are not allowed.
Hi,
The company I work for is current Testing the 'Automated Testing and Web UI Test Studio'. We have customized some controls includeing placing radiobuttons and hyperlinks into the radgrid. When we try to run a test against these controls like clicking on the control the system returns back a fail for the test, becuase the system is unable to locate the control. We are currently using the following version of the telerik.web.ui.dll '2008.2.1001.35'.
Is there a way for us to be able to test these controls with the 'Automated Testing and Web UI Test Studio'?
Thanks,
Jonathan Simon
The company I work for is current Testing the 'Automated Testing and Web UI Test Studio'. We have customized some controls includeing placing radiobuttons and hyperlinks into the radgrid. When we try to run a test against these controls like clicking on the control the system returns back a fail for the test, becuase the system is unable to locate the control. We are currently using the following version of the telerik.web.ui.dll '2008.2.1001.35'.
Is there a way for us to be able to test these controls with the 'Automated Testing and Web UI Test Studio'?
Thanks,
Jonathan Simon
6 Answers, 1 is accepted
0
Hi Jonathan,
Thank you for contacting us about WebUI Test Studio automation and posting that info.
That indeed might be a problem due to the old RadControls version. There was a major update of the skins I remember for Q1 2009 that introduced a lot of changes. Since WebUI Test Studio follows compatibility with the latest RadControls versions, the built-in wrappers and translators may not be functioning properly.
Can you please try disabling the RadControls translators and try recording the failing test again? You can do so by loading the User Settings (a button right from the hosted browser address bar) and loading the translators tab. You should see a WPF dialog like the one from the attached screen shot where you can uncheck the RadControls translators and leave the recording to the intrinsic ones. This way we will identify the problem.
Please let us know whether this helps.
All the best,
Konstantin Petkov
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.
Thank you for contacting us about WebUI Test Studio automation and posting that info.
That indeed might be a problem due to the old RadControls version. There was a major update of the skins I remember for Q1 2009 that introduced a lot of changes. Since WebUI Test Studio follows compatibility with the latest RadControls versions, the built-in wrappers and translators may not be functioning properly.
Can you please try disabling the RadControls translators and try recording the failing test again? You can do so by loading the User Settings (a button right from the hosted browser address bar) and loading the translators tab. You should see a WPF dialog like the one from the attached screen shot where you can uncheck the RadControls translators and leave the recording to the intrinsic ones. This way we will identify the problem.
Please let us know whether this helps.
All the best,
Konstantin Petkov
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.
0
Civbaron
Top achievements
Rank 1
answered on 03 Mar 2010, 05:51 PM
Hi Konstantin,
I made the change to only use html translators. I am still not able to successfully complete the test. Here is the full error message that is thrown when the test tries to click on the item:
'ArtOfTest.Common.Design.Exceptions.ExecutionException: Unhandled exception thrown during automation step execution ---> System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure:
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
--- End of inner exception stack trace ---'
Thanks,
Jonathan Simon
I made the change to only use html translators. I am still not able to successfully complete the test. Here is the full error message that is thrown when the test tries to click on the item:
'ArtOfTest.Common.Design.Exceptions.ExecutionException: Unhandled exception thrown during automation step execution ---> System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure:
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
--- End of inner exception stack trace ---'
Thanks,
Jonathan Simon
0
Hello Jonathan Simon,
Let me ask a simple question just to verify one thing... after turning off the RadControl translators, did you re-record your test? If not, then it's still trying to find the elements using the information that was recorded when the translators were enabled, which will most likely fail.
Let me know whether or not that's it and then we'll continue working this issue with you.
Sincerely yours,
Cody
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.
Let me ask a simple question just to verify one thing... after turning off the RadControl translators, did you re-record your test? If not, then it's still trying to find the elements using the information that was recorded when the translators were enabled, which will most likely fail.
Let me know whether or not that's it and then we'll continue working this issue with you.
Sincerely yours,
Cody
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.
0
Civbaron
Top achievements
Rank 1
answered on 03 Mar 2010, 06:45 PM
Hi Cody,
I did rerecord all the steps for the test and reran the test. It still failed when it was tested. I also just in case created a new project and created a new test to check it again. Again the test failed and gave the same error as previously tested.
Thanks,
Jonathan Simon
I did rerecord all the steps for the test and reran the test. It still failed when it was tested. I also just in case created a new project and created a new test to check it again. Again the test failed and gave the same error as previously tested.
Thanks,
Jonathan Simon
0
Civbaron
Top achievements
Rank 1
answered on 03 Mar 2010, 11:30 PM
Hi Cody,
I did install the latest version of the tool and am now getting a different error. This is the error that I am currently receiving:
ArtOfTest.Common.Design.Exceptions.ExecutionException: Unhandled exception thrown during automation step execution ---> System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure:
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
--- End of inner exception stack trace ---
I checked if the control is seen in the DOM and it is. Anyhelp would be greatly appreciated.
Thanks,
Jonathan Simon
I did install the latest version of the tool and am now getting a different error. This is the error that I am currently receiving:
ArtOfTest.Common.Design.Exceptions.ExecutionException: Unhandled exception thrown during automation step execution ---> System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure:
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
--- End of inner exception stack trace ---
I checked if the control is seen in the DOM and it is. Anyhelp would be greatly appreciated.
Thanks,
Jonathan Simon
0
Hi Jonathan Simon,
I enjoyed working to solve the problems you were having. I am also very pleased to see it working well for you now. I hope you continue to enjoy using this testing tool.
I am going to close this ticket since your current issues have all been resolved.
Have a good day!
Cody
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.
I enjoyed working to solve the problems you were having. I am also very pleased to see it working well for you now. I hope you continue to enjoy using this testing tool.
I am going to close this ticket since your current issues have all been resolved.
Have a good day!
Cody
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.