I have two automated tests that run against a SL Out of Browser application. Both these tests are running correctly. The problem occurs when I add both tests to a test list. In (Test List) Edit Settings (for the Browser Option), I select Silverlight Out of Browser. When I select Run List, it looks like Test Studio is about to run my tests. But, the OOB Silverlight application never opens. Then, Test Studio is on the Results tab with the timeline on the screen. How do I get my automated scripts to run in the Test List?
Sometimes I see Internet Explorer open. And then it closes.
Overall Result: Fail
------------------------------------------------------------
'16.07.2012 15:36:42' - Using .Net Runtime version: '4.0.30319.269' for tests execution.
'16.07.2012 15:36:42' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'16.07.2012 15:36:47' - Using 'C:\Program Files (x86)\WEBfactory 2010\Smart Editor\WFSmartEditor.exe' application.
'16.07.2012 15:36:48' - 'Pass' : 1. LeftClick on IsOpenIndicatorBorder
'16.07.2012 15:36:49' - 'Pass' : 2. radmenuitem: 'QSSEProjekt1' click action.
'16.07.2012 15:37:29' - 'Pass' : 3. LeftClick on LogbookTextblock
'16.07.2012 15:37:31' - 'Pass' : 4. LeftClick on ExpanderButtonPath
'16.07.2012 15:37:44' - 'Fail' : 5. radcombobox: drop down 'Open' action.
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to locate element. Details: Attempting to find [Wpf] element using
Find logic
(Wpf): [name 'Exact' PART_RootPanel] AND [XamlTag 'Exact' grid][XamlPath 'Exact' /scrollcontentpresenter[name=PART_ScrollContentPresenter]/gridviewvirtualizingpanel[name=PART_GridViewVirtualizingPanel]/gridviewgrouprow[0]/grid[name=PART_GroupExpanderGrid]/border[name=Content]/stackpanel[0]/gridviewvirtualizingpanel[name=PART_GridViewVirtualizingPanel]/gridviewrow[automationid=Row_-1]/border[0]/selectivescrollinggrid[name=grid]/datacellspresenter[name=PART_DataCellsPresenter]/grid[0]/itemspresenter[0]/gridviewcellspanel[0]/gridviewcell[1]/grid[0]/contentpresenter[name=PART_ContentPresenter]/contentcontrol[0]/contentpresenter[0]/fontstretcheditorview[0]/radcombobox[name=uxEditor]]
Unable to locate element. Search failed!
------------------------------------------------------------
'16.07.2012 15:37:44' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'16.07.2012 15:37:44' - Overall Result: Fail
'16.07.2012 15:37:44' - Duration: [0 min: 56 sec: 328 msec]
------------------------------------------------------------
'16.07.2012 15:37:45' - Test completed!
------------------------------------------------------------------------------------------------------------------
Moreover I got another small problem. If I want to try to record critical errors (xxx.exe) I'm not able to do so, because Telerik prevents the programme from a crash. Is there any possibility to cause the crash in order to record it or not ?
Regards,
Carsten
I have created a simple automated test. The test just opens Internet Explorer. Navigates to www.google.com. In the Google searchbox, it enters Telerik. Then it selects the Telerik result link and the Telerik website appears. The Test runs fine (On its own). The problem occurs when I run the test in a Test List. When I run the Test List, it navigates to the Google website. But it fails to type in Telerik. Error Message: ArtOfTest.Common.Design.Exceptions.ExecutionException: Unexpected dialog: My test runs just fine on its own but it does not run in a Test List. It is the only test in my Test List. Please let me know what I am doing wrong.