Hi Srinadh welcome...
You can set the innertext property as follows:
sExp="(^[0]{7}$([0-9]{5})$)"
Browser().Page().WebEdit().Object.innerText=sExp
On Wed, Oct 28, 2009 at 5:51 PM, srinadh neelam <[email protected]>wrote:
> Hi Kiran/Bibek.
> Thanks for your inputs.But the regular expression which is given below is
> not working to identify the object.i need to set the regularexpression to
> innertext propery of the obect.Please help me the procedure.
>
> Thanks,
> Srinadh.
>
>
>
> On 10/28/09, Bibek Khatiwara <[email protected]> wrote:
>
>> Hi srinadh
>>
>> Q.Can you please let me know how to use the Regular expression to the
>> below specified.I need to write a regularexpression for Identifying 12 digit
>> number in which the first 7 digits are Zeros
>>
>> Solution:
>> Pattern="(^[0]{7}$([0-9]{5})$)"
>>
>> Valid:000000034567
>> Invalid:000000000000
>>
>> Regards,
>> Bibek Khatiwara
>>
>> Hey! Catch me on:
>> http://khateee.blogspot.com/
>>
>> >>
>>
--
Regards,
Bibek Khatiwara
Hey! Catch me on:
http://khateee.blogspot.com/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---