Hi Suresh,

I hope below script will solve your purpose.

l -> will print the count of characters in upper case from the string you 
input

stra =Inputbox("string")
patt="[A-Z]"

Set a=new Regexp
a.ignorecase=false
a.global=true
a.pattern=patt
 set b=a.execute(stra)
 l=b.count
 print l
 print stra


On Saturday, 16 November 2013 22:07:10 UTC+5:30, suresh varatharajan wrote:
>
> Hi All,
>
> How to Check whether text is bold using qtp. Please provide the solution
>
> -- 
> Regards,
> Suresh.V
>
>  

-- 
-- 
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.

Reply via email to