How to open any application during Scripting?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Where we can use the analog mode and where we can use the low – level mode?

562


What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

699


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3430


What is quick test pro?

582


How to find a window is minimized or not

1436






what is the difference betn QTP 8.0 AND PREVIOUS VERSION

1947


i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

1450


I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?

1555


What do you mean by iteration?

622


hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?

2778


How you are developing the script? Using record and play back or manual?

624


How to create Reusable and Multiple Actions?

1701


How to add synchronisation points in qtp?

573


How does qtp identify the object in the application?

529


What test you perform mostly? Regression or retesting in your testing process?

567