is it possible to change the date format like MM/DD/YY
into DD/MM?YY through script in QTP
Answer Posted / maya
Dim years
years=inputbox("enter year as MM/DD/YY format")
x=mid(years,4,2)
msgbox x
y=left(years,2)
msgbox y
z=right(years,2)
msgbox x+"/"+y+"/"+z
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading
What are the differences between qtp and winrunner?
What is QTP’s model for test creation?
How is UFT 11.5 version different from UFT 12.0?
What are output values and why they are used ?
Where to use function or action?
Dis advantages of XML checkpoint ?
What are the different types of action?
What is the standard timing delay for web based application in qtp?
Generic function to search for the unique link in webtable and click on it
What are the different attributes used with regular expression?
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
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
What is action split and the purpose of using this in qtp?
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps