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
Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know
How do you configure QTP AND Test director?
What are the Disadvantages of shared object repository?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
What are private functions in QTP? How they can be called from the function library?
What is test object model in quicktest professional (qtp)?
What test cases can you automate using QTP?
why should we give deliver good quality software?
how to find that tools work well with your existing system?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
Hoe can we do retesting using functions please give the code for it using login page
What is the standard timing delay for web based application in qtp?
what could go wrong with test automation?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)