Hi,
I will provide perticular age,it needs to enter date in
text box (MM/DD/YYYY) compare to system date. or already
exist data in the text box.

Answer Posted / madhavi

Get the entered data of text box into a variable "x"

Datediff(yyyy,x,now) will return the age.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many tabs are available to view your test in a test pane and what are they?

676


Explain the concept of how quicktest professional (qtp) identifies object?

666


Get the count of files of similar types from a folder.

1075


why you have standardized functions? plzzz guys with real time exp. do answer

1516


Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly

1353






How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

1655


When to use descriptive programming?

677


How many tabs are available in debug viewer pane?

733


How does you pass optional arguments in qtp?

659


Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know

1486


Have you used xml check point in your project?

639


i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer

3657


can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

5286


Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...

1600


What is keyword view in qtp?

631