Forum Discussion

danalu's avatar
danalu
Contributor
7 years ago

How to solve "Prepare object recognition hint" cost a lot of time on used object

Greeting!

 

i am testing on Java application. after upgrade to TC 12.42, i found it keep stuck at "Prepare object recognition hint" , which cost a lot of time to go throught. scenario is perform a butto click on a dialog and it closed after done. but code keeping waiting saying "Prepare object recognition hint"

Below is my simple sample:

 

def Test1():

java = Aliases.java
summaryGrid = java.Workspace.RootPane.null_layeredPane.null_contentPane.ContentContainer.MainContainer.Panel.MainDockingContainer.DefaultDockingManager_DockedHiddenSlidingContainer.DockedHiddenContainer.ContainerContainer.DockedFrameContainer.Panel.ContainerContainer.FrameContainer.View_AutoTest_Summary.RootPane.null_layeredPane.null_contentPane.HTPanel.Panel.Panel.GridPane.Viewport.Summary
summaryGrid.Click(461, 23)
summaryGrid.Keys("[F9]")
button = java.JideDialogProvider_6.RootPane.null_layeredPane.null_contentPane.StandardDialog_DefaultStandardDialogPane.NewBuySellPanel.Panel.OrderDialog_3.Panel.Panel.CustomColorButton
button.click()

 

after button click, TC not stop but keep waiting....

 

NameMapping: as screenshot