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.

Answers were Sorted based on User's Feedback



Hi, I will provide perticular age,it needs to enter date in text box (MM/DD/YYYY) compare to syst..

Answer / gangadhar

X=CDate(x) 'it will convert the date in the textbox
y=now()
msgbox Datediff(YYYY,x,y)

Is This Answer Correct ?    0 Yes 0 No

Hi, I will provide perticular age,it needs to enter date in text box (MM/DD/YYYY) compare to syst..

Answer / 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

More QTP Interview Questions

What is expert view in qtp?

0 Answers  


Please any on explain usage of "on error resume next","On error goto 0" with sample code....Thankyou......... when a tester is asked to execute 100 scripts in a short time..(the server will be down in another 10 min)..how he has to run those scripts?

2 Answers   Datamatics,


hello, i just started searching for a job on QA ,need QTP software full version.plz can any body help me...my email id is padma_ub@yahoo.com.thanks in advance.

0 Answers  


How do u use Database checkpoints and what are the use?

4 Answers   Qualtree Solutions,


write a qtp script to see time in windows command prompt? its urgent....

9 Answers   BSL,






How will you load few objects in Active Screen?

1 Answers  


What phases are involved in testing an application in qtp?

0 Answers  


What is the exact difference between QTP and RFT ?

2 Answers   CTS,


How do you configure QTP AND Test director?

0 Answers  


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

0 Answers  


how many scripts r there in QTP? pls any answer this question?

4 Answers  


How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object

0 Answers  


Categories