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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

1600


How to test background color and dynamic images during run time can you put the check point for moving objects?

1547


How many ways is to parameterize the value?

696


What is Port testing. Whhen will you perform?

1602


How will internal and external links be validated and updated? how often?

752






Write a script to verify font style and color of a windows object using descriptive programming

938


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

1373


How to carry out bit map check points in QTP

1843


What is action split and the purpose of using this in qtp?

623


before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...

7412


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

2344


What is fragmentation and paging?

1672


Explain the parameter in qtp?

670


what testplan contents and what test strategy contents,what is the diff b/w them

1734


Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

1457