Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
435
Coded UI Tests: Problems with Menu Items
posted

Dear Sir/Madam,

I am trying to generate some UI tests using the Visual Studio Ultimate 2012 (ver 11.0.61030.00 Uptdate 4) tools and having several problems to catch the actions over Infragistics components.

I have attached a very simple project with a UI, a test case and the log file generated when fails in order you can have a better look about what is the problem and how to reproduce it.

Test is very simple:

1) Launch the program

2) Clic on "PopupMenuTool1"

3) Clic on any button from the submenu.

Test fails trying to perform the steps 2 and 3 as you can see in the logfile.

Another control is blocking the control. Please make the blocked control visible and retry the action. Additional Details: TechnologyName: 'MSAA' ControlType: 'Menu'
Microsoft.VisualStudio.TestTools.UITest.Extension.FailedToPerformActionOnBlockedControlException
...
...

Thank you very much, I'm looking forward for some information about how to solve this problem.

InfUIExample.zip
Parents
No Data
Reply
  • 435
    Offline posted

    Dear Sir/Madam,

    UPDATE:

    When I record the test by using keyboard to select the second item in the menu, everything works properly and VS recognizes the controller wich I want to test. There is no problem to make it by using the keyboard in this case but with some other controllers it would be very hard to manage.

    Thank you very much, I'm looking forward for some information about how to solve this problem.

Children