How to open any application during Scripting in QTP?

Answers were Sorted based on User's Feedback



How to open any application during Scripting in QTP?..

Answer / raja83

you can launch any exe files using following code

systemUtil.Run "PATH\Filename.EXE"

ex:

systemUtil.Run "C:\Calc.exe"

Is This Answer Correct ?    5 Yes 0 No

How to open any application during Scripting in QTP?..

Answer / vinod

whichone may i follow plz spicify

Is This Answer Correct ?    2 Yes 1 No

How to open any application during Scripting in QTP?..

Answer / anfal

How do you know whether user has entered URL or path of a
client server application?

I need a program which can open application based on users
input, if it is url then it should open webapplication else
client server application with all validations..

Is This Answer Correct ?    1 Yes 0 No

How to open any application during Scripting in QTP?..

Answer / ravichandranath

invokeapplication(PATH\Filename.EXE")
bye

Is This Answer Correct ?    3 Yes 3 No

How to open any application during Scripting in QTP?..

Answer / butchi reddy

u follow both answers.

Is This Answer Correct ?    1 Yes 1 No

How to open any application during Scripting in QTP?..

Answer / mns

System.util is used for web-application
Invokeapplication is for client-server application

Is This Answer Correct ?    2 Yes 2 No

How to open any application during Scripting in QTP?..

Answer / venkat qtp

hi guys

systemutil.run"c:\programfils\data"
this is forward compatibility i like 8.2 version on words
applicable

invokeapplication""c:\programfils\data"
this is backward compatibility, like 8.2 previous version is
applicable

plz any mistake reply me

this is evenkateswararao@gmail.com

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How you debug your script?

0 Answers  


What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?

0 Answers  


Hi! Using Descriptive Programming How do we get Parent object for an object. Say, i want to get a parent object for a "Link" in a web page. thanks

3 Answers  


Sometimes my QTP scripts works fine and sometimes its not though I am using same shared Repository and am not doing any changes in it.Even though for descriptive programming also its works fine and sometimes it does not work.my application is pretty stable.Could anyone please answer why am facing these types of issue??

1 Answers  


i am trying to capture the URL from the open browser and store it. pls give me solution how we can do this in QTP. thanks

2 Answers  


CAN I CALL A FUNCTION IN ACTION.IF YES PLEASE HELP ME

2 Answers   TCS,


Can we record using all the modes in a single script? Explanation with example is appreciated

0 Answers  


What is API?

1 Answers  


How do you export an output to a excel sheet? Ex: I get my answer by using Msgbox"..." &R. How do I displayed the result of the Msgbox (such as R) to an excel sheet? Please let me know.Thanks

2 Answers   ADC,


i am new to qtp i do not know how to write script how to write the code to login if it fails how to able error messages

4 Answers   Accenture,


How to pass parameters into an action.Please explain me with examples

5 Answers  


Differences between QTP & Winrunner?

2 Answers   Crea,


Categories