Update object property (Name - with regular expression) in QTP object repository

I have to update a property of the object in the OR and enable regular expression for the same property using a script. I have updated the property value but no idea how to enable regular expression for the same.
It would be great if any suggestion or solution.

Showing Answers 1 - 1 of 1 Answers


  • Oct 9th, 2011


You just need to add .* follow the fixed characters in your property (if any) or simply use .* and check 'Regular Expression' checkbox. You will be done.

Ex: If suppose ur property changes as 'prashaant12@gmail.com' to 'prashaant34@gmail.com' then use Regular Expression as -

prashaant.* and check 'Regular Expression' checkbox.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions