which function you will use to compare the application date
with system date?..



which function you will use to compare the application date with system date?....

Answer / ak

You can get the system date in WR via function:
sysDate = time_str(get_time());
Match this date (sysDate) with your application date.
If the format of both dates are different then you can
modify or split (use split() fucntion) any one among them
as per your requirement.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More WinRunner Interview Questions

Suppose there is a global variable called Counter.And there is a user defined function called my_function.which does not take in any parameters. How can a test engineer utilize Counter inside my_function body?

1 Answers   FCG,


i was getinng problem if i use the same test-data(data table) to script1 and script2. why it is so? and how it can be resolved?

1 Answers  


what is Retesting and what is the difference between Retesting and Regression testing?

7 Answers   Accenture, Infeneon Technologies,


can any one provide some testing material?

2 Answers  


what is data driven framework?

6 Answers   EDS,






which testcases do u automate?

4 Answers  


In general, how do you see automation fitting into the overall process of testing?

1 Answers  


how to download jmeter from net,is it open source

1 Answers  


Have you ever created a start-up script?

0 Answers  


who prepare the RTM?

2 Answers  


How to have winrunner insert yesterdays date into a field in the application?

0 Answers  


i would like to know the steps to write tsl exception and object exception with a simple example

0 Answers  


Categories