Hi,
I tried to create an automation testing project for a Silverlight Web site using 'Telerik - WebUI Test Studio' to have an idea how maintainable is the source code of the test cases, but I encountered a Silverlight connection error that does not allow recording the web page GUI.
[Steps performed]
- create a new project in 'WebUI Test Studio'
- add a new Test
- enable Silverlight automation for this test
- go to the 'Record' tab and press 'Record' button with 'Launch new recording Browser' option
- in the new browser, navigate to the required page
- wait for the Silverlight page to load
[Result]
- After the web page is loaded by the automation tool, two error dialogs appear:
even if the Web page seems to be loaded correctly. After this error, 'WebUITest Studio' does not record any actions
[Test environment] - set up for WebUI Test Studio:
- IE 8 configured for automation (see all steps here:http://www.artoftest.com/support/webaii/topicsindex.aspx?topic=configureIE7)
- Windows 7 x86 Professional OS with UAC disabled (logged in user is part of administrators group)
[Investigation]
i've tried all proposed solution from http://www.telerik.com/ClientsFiles/185726_silverlight-connection-draft.zip, but the Silverlight recording error is the same
- Remark: if the page is reloaded in WebUI recording browser several times, IE crashes; debugging IE shows an error at ArtOftest.WebAii.Mime.dll
[Important remarks]
- web site is working correctly when performing manual testing (not using any GUI recording tool).
- 'WebUI Test Studio' recorder is working as expected on other Silverlight website
Are there any other solutions to perform Silverlight GUI recording from WebUI TestStudio?
Best regards,
Flavia
I tried to create an automation testing project for a Silverlight Web site using 'Telerik - WebUI Test Studio' to have an idea how maintainable is the source code of the test cases, but I encountered a Silverlight connection error that does not allow recording the web page GUI.
[Steps performed]
- create a new project in 'WebUI Test Studio'
- add a new Test
- enable Silverlight automation for this test
- go to the 'Record' tab and press 'Record' button with 'Launch new recording Browser' option
- in the new browser, navigate to the required page
- wait for the Silverlight page to load
[Result]
- After the web page is loaded by the automation tool, two error dialogs appear:
1. Application Unhandled exception - Message: Object reference not set to an instance of an object at loading XAP file
2. Unable to connect to Silverlight application. Silverlight recording will not function.even if the Web page seems to be loaded correctly. After this error, 'WebUITest Studio' does not record any actions
[Test environment] - set up for WebUI Test Studio:
- IE 8 configured for automation (see all steps here:http://www.artoftest.com/support/webaii/topicsindex.aspx?topic=configureIE7)
- Windows 7 x86 Professional OS with UAC disabled (logged in user is part of administrators group)
[Investigation]
i've tried all proposed solution from http://www.telerik.com/ClientsFiles/185726_silverlight-connection-draft.zip, but the Silverlight recording error is the same
- Remark: if the page is reloaded in WebUI recording browser several times, IE crashes; debugging IE shows an error at ArtOftest.WebAii.Mime.dll
[Important remarks]
- web site is working correctly when performing manual testing (not using any GUI recording tool).
- 'WebUI Test Studio' recorder is working as expected on other Silverlight website
Are there any other solutions to perform Silverlight GUI recording from WebUI TestStudio?
Best regards,
Flavia