is it possible to change the date format like MM/DD/YY
into DD/MM?YY through script in QTP
Answer Posted / guru
DD = Day(now)
If Len(DD) = 1 then
DD = "0" & DD
End If
MM = Month(now)
If Len(MM) = 1 then
MM = "0" & MM
End If
YY = Year(now)
YY = right(YY,2)
Date_Format = DD & "/" & MM & "?" & YY
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
What is the recovery scenario in qtp?
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
How to attach a file to TD?
Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
How to save your test using quicktest professional (qtp)?
if numbers are always changing write a script for that
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
Hai anyone please "Explain about Framework in QTP?"
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
How many types of run modes are there in qtp?
Can anybody post some real time scenario in qtp? please its very urgent.
Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19
What test cases can you automate using QTP?
Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u