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
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
How to test background color and dynamic images during run time can you put the check point for moving objects?
How many ways is to parameterize the value?
What is Port testing. Whhen will you perform?
How will internal and external links be validated and updated? how often?
Write a script to verify font style and color of a windows object using descriptive programming
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.
How to carry out bit map check points in QTP
What is action split and the purpose of using this in qtp?
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...
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
What is fragmentation and paging?
Explain the parameter in qtp?
what testplan contents and what test strategy contents,what is the diff b/w them
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