Forum Discussion
YMinaev
Staff
16 years agoHi,
The problem is in Name Mapping - all input boxes meet the same recognition criteria. To overcome this, you need to use indexes to distinguish among them. Either map each input box manually and use its Index property when mapping to recognize it, or avoid using Name Mapping at all. If you choose the second approach, you'll be able to use code like this:
The problem is in Name Mapping - all input boxes meet the same recognition criteria. To overcome this, you need to use indexes to distinguish among them. Either map each input box manually and use its Index property when mapping to recognize it, or avoid using Name Mapping at all. If you choose the second approach, you'll be able to use code like this:
...
Set wnd = Aliases.SimClient.dlg
wnd.Window("Edit", "*", 1).wText = "1"
wnd.Window("Edit", "*", 2).wText = "2"
...