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

Error in finding a button in another table

2 Answers 22 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Felippe
Top achievements
Rank 1
Felippe asked on 23 Jun 2014, 06:43 PM
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 Answers, 1 is accepted

Sort by
0
Felippe
Top achievements
Rank 1
answered on 24 Jun 2014, 10:48 PM
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

0
George
Telerik team
answered on 26 Jun 2014, 01:00 PM
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.
 
Tags
RibbonBar
Asked by
Felippe
Top achievements
Rank 1
Answers by
Felippe
Top achievements
Rank 1
George
Telerik team
Share this question
or