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

Dropdown box causes problem while running test

1 Answer 80 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Carsten
Top achievements
Rank 1
Carsten asked on 16 Jul 2012, 01:30 PM
Hello,
I just recorded a test including a step with a drop down box. While recording, there were no problems. But as i tried to run the test in order to submit the bug, an error occured and the client was not able to choose the item of the dropdown box. By now, the problem occured several times, bot in Internet Explorer as well in a programm (.exe).
I have already tried to put a break between the steps, but it didn't solve the problem as well.

Here's one Log:
 

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


------------------------------------------------------------------------------------------------------------------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

1 Answer, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 19 Jul 2012, 02:01 PM
Hello Carsten,
I am sorry you are experiencing this problem.

Fortunately, the issue is probably easily resolvable. You can follow the this article which will guide you through the standard troubleshooting procedure:
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/troubleshooting_guide/test-execution-problems/unable-to-locate-element.aspx

If you're still unable to make progress on this, go ahead and give us as much info a possible as seen here:
http://tv.telerik.com/watch/automated-testing-tools/test-studio-submitting-support-ticket-for-playback-issues


If I want to try to record critical errors (xxx.exe) I'm not able to do so, because Telerik prevents the program from a crash. Is there any possibility to cause the crash in order to record it or not ?

I'm not sure I understand this properly. I'm not sure what you're referring to by crash. Perhaps you can record a video of this event and how Test Studio is preventing it. Jing is a great piece of software that will allow you to record your desktop. Go ahead and give us additional info so that we may assist.

Greetings,
Stoich
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Carsten
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or