cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to launch a sub-window that is written with WPFRibbon control.

New Contributor

Unable to launch a sub-window that is written with WPFRibbon control.

When using TC 7.52  scripting way to automate our application, we noticed there got issue to launch a sub-window that is written based on Microsoft.Windows.Controls.Ribbon.RibbonWindow control, and it also cause the application to terminate by itself. There is no error log that will tell us what is the issue with that.



But when TC 6.40, it do not have any issue launching that sub-window.



The script is using "menuobject.StripMainMenu.Click()" to launch that sub-window.



Please advice. Thanks.





1 REPLY 1
Moderator

RE: Unable to launch a sub-window that is written with WPFRibbon control.


Hi Chew,





To help us investigate the problem, please follow the steps below:





1. Download a free trial version of AQtime 6, which is our profiling tool, from our web site and install it:

http://www.automatedqa.com/downloads/aqtime/







2. Start AQtime.





3. Select the 'File | New Project From Module...' main menu item.





4. In the Open File dialog, select the tested application's executable file and click Open.





5. Take a look at the AQtime toolbar - there is a combo box. Open it and select the "Tracing | Exception Trace Profiler" item.





6. Select the "Options | Options..." main menu command - the Options dialog will appear.





7. Set the "Profiling Time | Event View | General | Exceptions | Depth shown" setting to 100 and click OK.





8. Click the Run toolbar button (the green arrow) or press F5 to start the profiling.





9. AQtime will start the tested application and trace all exceptions that will occur in the application until it is closed.





10. Reproduce the problem in the tested application.





11. After the problem occurs, right-click somewhere within the Event View panel (it is opened by default at the bottom of AQtime's window) and select the 'Save All...' item.





12. Save the panel's contents to an HTML file and send us the file via the Contact Support form.





Thanks in advance.
--
Dmitry Nikolaev
Customer Care Manager
TestComplete, QAComplete

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.
New Here?
Join us and watch the welcome video:
6 / 7 API Testing Mistakes Video
Top Kudoed Authors