15 years ago
Workaround for varying class names
Hi, I've recently pulled down the trial version of TestComplete to see whether it may be suitable for automating testing on the range of products we produce, however I've hit something of a snag in that when attempting to expand the tree view, the WinFormsAdapter is sometimes incremented.
e.g.
Call Aliases.TRNA_Admin_Tool.HwndSource_AdmControllerForm1.WinFormsAdapter.TreeView.ClickItem("|10.200.2.57:1484|engine|analysis|Service1|Instance1")
Call Aliases.TRNA_Admin_Tool.HwndSource_AdmControllerForm1.WinFormsAdapter1.TreeView.ClickItem("|10.200.2.57:1484|engine|analysis|Service1|Instance1")
Any suggestions on a way I can work around this type of thing?