Quantcast
Channel: Micro Focus QTP (UFT) Forums - All Forums
Viewing all articles
Browse latest Browse all 1793

Qtp select item using regex

$
0
0
I am studying qtp, I have a list field and I want select an item form that. For that I am using the following code and it's was generate using record option in qtp. now the system using Select "123" for selecting. Instead of 123 I want ^1\d\d

Actual code 

Code:
VbWindow("frmMDI").VbWindow("frmcheckIn").VbComboBox("cboRoomNo").Select "123"

I am tried the following code but it's not working

Code:
VbWindow("frmMDI").VbWindow("frmcheckIn").VbComboBox("cboRoomNo").Select ("^1\d\d")

--
Thanks
nivi

Viewing all articles
Browse latest Browse all 1793


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>