Loading...

LR-LoadRunner@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: Issue with web_reg_find shyam sunder byreddy Sat Dec 31 17:01:31 2011

Hey Kumar,


This is not the solution, u are trying to print length of the string, but
our friend Shakthi is trying to find the count value J
On Tue, Dec 13, 2011 at 4:31 PM, loadrunner <[EMAIL PROTECTED]> wrote:

> Try this code in your Step 2 sir
>
> nFound= atoi(strlen(lr_eval_string("{Count}")));
>
> Goodluck !
>
> On Dec 12, 3:02 pm, shyam sunder byreddy <[EMAIL PROTECTED]>
> wrote:
> > Hi Shakti,
> >
> > There is an error in your code, U are directly converting it from LR
> value
> > to C value but saving anywhere, and hence it is showing the output as
> ZERO.
> >
> > Well, here I would like to say something to all the group members,
> >
> > When anyone asking for any kind of help, you should follow some email
> > etiquettes like addressing the group (Hi All) and politely requesting the
> > group for help.
> >
> > These things will really need to be maintained in a professional field.
> >
> > Shakti, No Heart feelings this suggestion is for ALL as well.
> >
> > I hope u will maintain the protocol next time :)
> >
> > ~Shyam
> >
> > On Sat, Dec 10, 2011 at 2:32 PM, Prajeesh Nair <[EMAIL PROTECTED]
> >wrote:
>  >
> > > I don't see anything wrong in your code.
> >
> > > I wrote a piece of code myself to check and it works fine
> >
> > > int nFound;
> >
> > > lr_save_string("10", "saveCount");
> > > nFound = atoi(lr_eval_string("{saveCount}"));
> > > if (nFound>0) {
> > > lr_output_message("Text check correct");
> > > }else{
> > > lr_output_message("Text check incorrect");
> >
> > > Check your code once again. More over, are you sure its value should be
> > > more than 0?
> >
> > > --
> > > You received this message because you are subscribed to the Google
> > > "LoadRunner" 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/LR-LoadRunner?hl=en
>
> --
> You received this message because you are subscribed to the Google
> "LoadRunner" 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/LR-LoadRunner?hl=en
>

-- 
You received this message because you are subscribed to the Google "LoadRunner" 
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/LR-LoadRunner?hl=en