cancel
Showing results for 
Search instead for 
Did you mean: 

Menu item is recognized as the whole panel and therefore I have difficulties clicking the correct po

SOLVED
OV
Contributor

Re: Menu item is recognized as the whole panel and therefore I have difficulties clicking the correc

I have attached all ribbon properties and the click methods (to take a screenshot of all methods will take a long time) can you help using this information? or should I copy all methods?

 

***It is such a shame TC doesn't have an option to copy/export all object properties and fields and methods at once without creating a screenshot scroll down take another screenshot and so on....

 

Thanks,

 

Ofer

Community Hero

Re: Menu item is recognized as the whole panel and therefore I have difficulties clicking the correc

Is this an application you could package up and send to me? It might easier to see the inner workins that way.


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
OV
Contributor

Re: Menu item is recognized as the whole panel and therefore I have difficulties clicking the correc

No sorry can't do that, unless you are part of SmartBear support team and then we can do it via the proper channels

 

Thanks,

 

Ofer

Community Hero

Re: Menu item is recognized as the whole panel and therefore I have difficulties clicking the correc

Can you try running just Aliases.Editor.Editor_Root_Window.MainWindowRibbonControl.RibbonMenuControls.ClickItem(0)

by itself, and a screen shot of the log with both the on screen picture and details tab?


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
Highlighted
OV
Contributor

Re: Menu item is recognized as the whole panel and therefore I have difficulties clicking the correc

Sure, pleasew find attached

Community Manager

Re: Menu item is recognized as the whole panel and therefore I have difficulties clicking the correc

Hi @OV,

Was the issue resolved? We have just released the new learning course that teaches how to handle Object Not Found error:

https://academy.smartbear.com/store/657036-testcomplete-handling-the-object-not-found-errors

 

I think it may help you.

 

 

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
OV
Contributor

Re: Menu item is recognized as the whole panel and therefore I have difficulties clicking the correc

Hi @TanyaGorbunova 

 

Yes it was resolved by using this way:

  1. Open the Object Spy and try recognizing the File tab. You will get some other parent object.
  2. Take the value of the property ClrFullClassName of this object.
  3. Navigate to Tools -> Current Project Properties -> Open Applications -> WPF.
  4. Add a new row to the Composite Objects list and paste the ClrFullClassName value there. Enable this new row.
  5. Try recognizing the File tab again.
  6. Repeat the above steps until you get to the File tab.

Thanks,

 

Ofer

View solution in original post

Community Manager

Re: Menu item is recognized as the whole panel and therefore I have difficulties clicking the correc

Hi @OV,

It's great to hear that you've found the solution.

 

 
---------
Tanya Gorbunova
SmartBear Community Manager

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:
Watch the new Interview