Forum Discussion
JuliaBernikova
8 years agoSmartBear Alumni (Retired)
Hi,
It looks like the issue is related to the specifics of the native method you use: it can only return some value after you close the dialog window (the dlgSaveProfileJKINGDefault object). Otherwise, if the dialog window remains open, TestComplete keeps waiting till the method returns something. This is what makes TestComplete hang.
It seems to me that no alternative is necessary since you managed to create a procedure which successfully clicks the item. However, you can also try using the DblClick action to simulate a double-click. If the tree item cannot be recognized by TestComplete as an individual object, you'll need to specify the coordinates of the item within the tree as the parameters of the DblClick action.
Related Content
Recent Discussions
- 9 hours agoSubhraDas
- 2 days agotramuntana