backslash and WinComboBox
I'm using QTP 6.5 and I'm running into difficulty with the following statement placing data into the edit portion of a combobox:
Dialog("regexpwndtitle:=Choose file").WinComboBox("attached text:=File &name:", "index:=0").Type "C:\ES_SMK_Auto\InpFiles\ESPS\RestrictedPlayersTes tData1.txt"
The data that is entered gets slightly scrambled. Example: C:\ES_SMK_AutO|InPFiLES|ESPS\ReSTRICTEDPlayersTest Data1.txt
I've tried replacing the backslashes with 2 backslashes (\\), with similar results.
Re: backslash and WinComboBox
It turns out that this is a QTP 6.5 bug. If you run across this, contact support and ask for patch 42 (QTP65p42.zip). You won't find this patch in the download area. Why? I don't know.