Error in finding a button in another table

3 posts, 0 answers
  1. Felippe
    Felippe avatar
    2 posts
    Member since:
    Jun 2014

    Posted 23 Jun 2014 Link to this post

    Hi,
    I'm using the "Ribbon Bar" element but when I click on another tab (Tabelas in blue), the "Coded UI Test Builder" identifies only the buttons that are on the first tab (Financeiro in red), although not visible. 

    this makes my Coded UI test does not work to find the correct buttons in the correct table, already enabled the Coded UI for True 

    As you can see from the attached file it finds the button, however this is not the tab button (Tabelas in blue) is the Tab (​​Financeiro in red). 

    What could I do to solve this problem? 
  2. Felippe
    Felippe avatar
    2 posts
    Member since:
    Jun 2014

    Posted 24 Jun 2014 in reply to Felippe Link to this post

    Hi, 

    For friends who may have the same doubt follows my resolution to the problem: 

    I changed the visibility to "collapsed" for all buttons when I click on a tab that is not the main and when I click on the page it returns the visibility to "true". 

    With this simple step the Coded Ui Test Builder, find all elements correctly. 

    Do not know if it's a line from RibbonBar, but follow a way that helped me.
    Hi, 

    For friends who may have the same doubt follows my resolution to the problem: 

    I changed the visibility to "collapsed" for all buttons when I click on a tab that is not the main and when I click on the page it returns the visibility to "true". 

    With this simple step the Coded Ui Test Builder, find all elements correctly. 

    Do not know if it's a line from RibbonBar, but follow a way that helped me.

    regards

  3. UI for WinForms is Visual Studio 2017 Ready
  4. George
    Admin
    George avatar
    500 posts

    Posted 26 Jun 2014 Link to this post

    Hello Felippe,

    Thank you for contacting us.

    This is a known issue with RadRibbonBar and CodedUI. You can find the issue in our Feedback Portal on the following address: UI for Winforms Feedback Portal - FIX. CodedUI playback does not able to recognize a button placed in RibbonBar.

    I can confirm that a workaround as the one you are using is usable in this case.

    Do not hesitate to write back, should you have further questions.

    Regards,
    George
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top