Hi, Good question. Appreciate it..
According to me, this can be verified as follows: 1. Click on Webedit. 2. Spy and check for any properties for maximum length. 3. If not, input a string contain morethan 15 characters to the edit field 4. Get the length of the input string by "strlen" 5. Use if loop to validate the condition. Regards, Raj *-Thanks & Regards,* *RAJ KAMAL* * * On Mon, Apr 8, 2013 at 10:57 AM, <[email protected]> wrote: > ** > If it is web, use 'max length' to find maximum allowed characters. > > Sent on my BlackBerry® from Vodafone > ------------------------------ > *From: * vijay kanaparthi <[email protected]> > *Sender: * [email protected] > *Date: *Mon, 8 Apr 2013 10:41:51 +0530 > *To: *<[email protected]> > *ReplyTo: * [email protected] > *Subject: *Check whether edit box allows exactly 15 characters > > Hi All, > > Could you plz help me to write the script which can check whether edit box > allows exactly 15 characters or not. > > -- > Thanks & Regards, > Vijaykumar Kanaparthi > 9916686756 > > -- > -- > 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 > > --- > You received this message because you are subscribed to the Google Groups > "QTP - HP Quick Test Professional - Automated Software Testing" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > > -- > -- > 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 > > --- > You received this message because you are subscribed to the Google Groups > "QTP - HP Quick Test Professional - Automated Software Testing" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
