Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Qtp select item using regex
#1
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)