How to open any application during Scripting?
Answers were Sorted based on User's Feedback
Answer / ramyab.mca@gmail.com
Hai...
SystemUtil, object used to open and close applications and
processes during a run session. A SystemUtil.Run statement
is automatically added to your test when you run an
application from the Start menu or the Run dialog box while
recording a test
E.g : SystemUtil.Run "Notepad.exe"
SystemUtil.CloseDescendentProcesses (Closes all the
processes opened by QTP)
K,Byeee...
Thanks & Regards
B.Ramyasri
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / lakshmi
We can open any application in QTP using system util.run
and by rec and run settings.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / punkhuri singh
SystemUtil , object used to open and close applications and processes during a run session.
(a) A SystemUtil.Run statement is automatically added to your test when you run an application from the Start menu or the Run dialog box while recording a test
E.g : SystemUtil.Run "Notepad.exe"
SystemUtil.CloseDescendentProcesses ( Closes all the processes opened by QTP )
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between link and hyperlink?
Is it possible to test Flat file using QTP? I have two file- first file is Input file and second file is output file. Input file has Format like first 2 field is record type, next 10 field is Description. Output file also has format. I want to check this file format using QTP. Is it possible?? please reply with example.
what is the frame work your using in automation ?
What will be the output of the statements below? On error Resume Next Sum 100/0 if Sum= 0 Then msgbox "Pass" else msgbox "Fail" End If
Suppose there are 100 links in a web page and the number of links will be changing dynamically from time to time. I need code such that every time i had to click on the last link of the web page.
what do you call the window testdirector-testlab?
Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?
write the regular expression for date format of mm/dd/yy?
10 Answers CTS, HCL,
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
Hi, I Install QTP 9.2 in windows Vista. but it is not supporting IE. it is supporting only windows based application. could I change any setting in Vista for supporting IE.. ?? thanks in advance...
hi friends i was tried to connect qtp with oracle database using provider.i got a error.so anyone can help me out by correct script