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
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
What is smart identification in QTP?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
What are private functions in QTP? How they can be called from the function library?
Shall we add Local Repository to shared object repository,if yes,how we add
What is system testing and what are the different types of tests you perform in system testing?
How to test login module with different username and password by using data driven testing in QTP?
How to interact tool & application build in QTP?
Explain building blocks of the bpt framework ?
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
How many scripts did you have?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
How to add verification steps to tests?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please