| || |
QTP/VbScript. Reg. Expression VBCombo
Can anyone help? I am currently running QTP against a development with numerous VBCombo boxes on the page. Items listed in the box are not as simple as they could/should be (as they use random data as well as the visible selection) Eg. "Mr <many spaces> random date, random code" All that is visible in the combo box is Mr.
I need away to select from the combo box the item Mr, when the follwing info can change. Eg using a regular expression and selecting say "Mr*". Is this possible?
I know I can just select using the value of it's place in the list Eg. Select 1, but the order can chage due to additions and deletions from the list. Any ideas?? Cheers
Re: QTP/VbScript. Reg. Expression VBCombo