GeekInterview.com
Series: Subject: Topic:
Question: 27 of 779

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.
Asked by: Interview Candidate | Asked on: Aug 31st, 2011
Showing Answers 1 - 1 of 1 Answers
Prashaant

Answered On : Oct 9th, 2011

Dear,

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.

Yes  1 User has rated as useful.
  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.