Combobox selection from a VB6 window
Hi,
I am testing 2 different versions of the same app with a client end written in Visual Basic 6. A Combox selection is failing (cboXField command). When I check and compare the old with the new I get the following:
OLD:
Aliases.QLX.frmQLXMain.MDIClient.wndDBasMdiChildClass5.DBasMdiChildClass2.
frmEHGM101.tabMain.SSActiveTabPanel1.Frame6.cboCriteria.cboXField
NEW:
Aliases.QL .frmQLXMain.MDIClient.wndDBasMdiChildClass .DBasMdiChildClass2.
frmEHGM101.tabMain.SSActiveTabPanel1.Frame6.cboCriteria.cboXField
The older object differs by having an additional 2 characters (highlighted).
Can I "wildcard" this, or by any other means make changes so as my scripts will recognise both versions of the Combobox?
Hi,
Yes you can use wildcard in name mapping
you may use it where "5" is appeared.
For me , it seems to be your application name is QL. and re-named old one to QLX...if that the case you may have to change in lot of places.
better run with original name two times ..could save you from trouble of changes.