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
Where you get the run time data table?
Have you done batch testing in qtp? If yes how you are doing?
What are the features of quick test pro(qtp)?
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
How to get popup error message.
What are the different types of functions available in qtp and explain ?
How many types of parameters are available in quicktest professional?
How to use transactions in qtp?
What are the general steps involved in the data driven framework?
please any one can explain the keyword driven framework. with gmail example.
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
Shall we add Local Repository to shared object repository,if yes,how we add