Ask a Question

Find not unique process and Find button in RibbonBar

SOLVED
crazytester
Visitor

Find not unique process and Find button in RibbonBar

Yesterday I started writing a test for an add in Excel. Today I am launching the test and he says he can't find the process. From the object browser I know that Excel has another index. How do I find the right process and above all reuse some of the written tests to perform other tests?

How Do I select every button in Ribbon bar, If Spy highlights all ribbon bar? Thanks

3 REPLIES 3
Marsha_R
Community Hero

This link may be of some help:

https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/desktop/wpf/ribbon/i...


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
Wamboo
Community Hero

Hi,


"How do I find the right process and above all reuse some of the written tests to perform other tests?"

Can You paste some code? Will be better for us to know code example.


"How Do I select every button in Ribbon bar, If Spy highlights all ribbon bar? Thanks"

Yes, You can try to use solution from previouse post but if it dosent work try to use "text recognition" option in TestComplete.


Link to doc:

https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/text-recognition/...

TanyaYatskovska
SmartBear Alumni (Retired)

Thanks for your valuable suggestions, Marsha_R, Wamboo.

@crazytester, do they help you? Please share the solution you decided to use.

 

 

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



cancel
Showing results for 
Search instead for 
Did you mean: