How to open any application during Scripting?

Answers were Sorted based on User's Feedback



How to open any application during Scripting? ..

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

How to open any application during Scripting? ..

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

How to open any application during Scripting? ..

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

Post New Answer

More QTP Interview Questions

How should i get name of the screen? Ex:There is a "submit" button.If i clicked on the submit button it opens a screen. I want that screen name.How can i get that screen name I dont have any property regarding that screen. If suppose we cliked on the screen , Then QTP captures the screen properties then i can get the screen name by using GETROPROPERTY But i want the screen name without clicking the screen. ("I am using the "settoproperty" for Second screen by using fist screen properties") Please tell me anyone

3 Answers   Livetek,


w is descriptive programming

2 Answers   TCS,


1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.

0 Answers  


what is the main use of reviews

2 Answers   Ordain Solutions,


How to convert QTP's ObjectRepository.mdb file to xml file

1 Answers  


Plz send one Tracebilitymatrix example? Anybody working on Realtime QTP Plz give contact deatils?

1 Answers  


What is error handled other than recovery scenario manager?

2 Answers  


What is the qtp testing process?

0 Answers  


How exactly you start scripting in QTP? In the interview he was not satisfied with my answer.Please post what is correct answer.

5 Answers  


Hi This is tanya actually im facing problem in Qtp actully some time QTP doesnot recoznise the recorded object due to which script is going to fail.so can you tell me how we can handle this situation and i have another concerened issue is that at the time of run New errors comes every time so how we can handle this sitauation how we can add Recovery scenarios to the script.some time application runs successfully and some time it produces new error thats why i am facing lot of problem please give me the sugeestion as soon as possible.

2 Answers  


How can you capture(Read) the values from a Table?

1 Answers  


can objects recogonised without repository?

10 Answers   AZTEC,


Categories