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
What is Port testing. Whhen will you perform?
hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....
Explain the Different types of QTP test assets and their extensions?
What are the two types of repositories available, explain them?
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
Explain the concept of object repository?
1 Folders in VSS 2 In navigation script there are 100 script i want to run first 50 and 37th script also not needed to run how to do this 3 What is navigation script,Driver script, business script what we are loaded in this script 4 use of resource tab 5 Difference between verification and validation give real scenario example 6 file scripting object when to use it 7 what are the problems you are faced while testing web application 8 difference between expert view and keyword view 9 difference between QTP 8.2 and QTP 9.2 navigation frame work please answer these questions from real time working people as early as possible
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
What is checkpoints for quicktest professional (qtp)?
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
Explain the types of object repositorys in qtp?
If I change the object name in one action will it be updated in all the actions? Or not?
On what document base Descriptive programming is written if build is not yet ready ?
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