Maybe it's a time to open QTP help?
Type in index tab "regular expression syntax".

On Tue, Oct 21, 2008 at 9:40 AM, Harish <[EMAIL PROTECTED]> wrote:
>
> What is the {1,2} for? What is wrong with this
> s_[0-9]+_[0-9]+_[0-9]+_[0-9]+?
>
> On Oct 21, 1:35 am, "Devendra Sharma (India)"
> <[EMAIL PROTECTED]> wrote:
>> Regular Expression should be like:
>>
>> s_[0-9]_[0-9]_[0-9]{1,2}_[0-9]{1,2}
>>
>> Thanks & Regards,
>>
>> Devendra Sharma
>>
>>
>>
>> -----Original Message-----
>> From: Harish [mailto:[EMAIL PROTECTED]
>> Sent: Saturday, October 18, 2008 12:02 AM
>> To: QTP - HP Quick Test Professional - Automated Software Testing
>> Subject: Flying objects
>>
>> Hi,
>>
>> There are some objects in the application that changes values. For
>> example, object s_4_1_98_7 changes to s_5_1_98_7 when you restart the
>> application and I know that I have to put this: s_[0-9]_[0-9]_[0-9]
>> [0-9]_[0-9]
>>
>> But my problem is this. If a one digit number changes to a two digit
>> number, for example s_4_1_98_7 changes s_4_1_98_16, How do I solve
>> this problem?- Hide quoted text -
>>
>> - Show quoted text -
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to