is it possible to change the date format like MM/DD/YY
into DD/MM?YY through script in QTP
Answer Posted / m kumar
Date function in qtp displays current system date as
MM/DD/YY,So change this in to DD/MM?YY format below is the
process
Strday = day(date)
Strmonth = month(date)
Stryear = year(date)
Newformat = Strday&"/"&Strmonth&"?"&Stryear
| Is This Answer Correct ? | 21 Yes | 0 No |
Post New Answer View All Answers
what could go wrong with test automation?
Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.
How do you capture tooltip using QTP?
What is 'sleep' in sync point?
If I change the property value at runtime is it effect is object repository?
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
What is the difference between run time object and test object in QTP?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
How to handle dynamic objects in quicktest professional (qtp)?
If I change the object name in one action will it be updated in all the actions? Or not?
How to suppress warnings from the test results page?
if numbers are always changing write a script for that
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
what is actually contain test report? can anybody post the test report