Incrementing Date Parameter.

124 views
Skip to first unread message

Mubassar Uruj

unread,
Apr 28, 2011, 3:27:25 AM4/28/11
to lr-loa...@googlegroups.com
Hi Guys,

Need help.

I have a scenario where I have to increment the current date to 7 days (customizing based on the run) on first occurrence and further 7 days (customizing based on the run) again in another occurrence and so on so forth. I am using DATE/TIME parameter to define this but how do I make sure its incrementing as desired.

INCREMENTING THE DATE PARAMETER.

Thanks in advance guys.

Regards,
Mubz

prasenjit dutta

unread,
Apr 28, 2011, 7:32:51 AM4/28/11
to lr-loa...@googlegroups.com
check the parameter (date/time) file, properties....it is there, u can customize according to ur choice 

--
You received this message because you are subscribed to the Google "LoadRunner" group.
To post to this group, send email to LR-Loa...@googlegroups.com
To unsubscribe from this group, send email to
LR-LoadRunne...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/LR-LoadRunner?hl=en



--
Prasenjit

V.M.Guruprasath

unread,
Apr 28, 2011, 7:37:13 AM4/28/11
to lr-loa...@googlegroups.com

lr_save_datetime("7 days from now is %B %d %Y", DATE_NOW + ONE_DAY+ ONE_DAY+ ONE_DAY+ ONE_DAY+ ONE_DAY+ ONE_DAY+ ONE_DAY, "7daysfromnow");

The value will be available in {7daysfromnow}

Regards,

V.M.Guruprasath

Viral Patel

unread,
Apr 28, 2011, 10:15:29 AM4/28/11
to lr-loa...@googlegroups.com
Mubassar,

Check option Offset Parameter by and you will be able to use prior or future date.


 

--
Reply all
Reply to author
Forward
0 new messages