How to open any application during Scripting in QTP?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / ravichandranath
invokeapplication(PATH\Filename.EXE")
bye
Is This Answer Correct ? | 3 Yes | 3 No |
Answer / mns
System.util is used for web-application
Invokeapplication is for client-server application
Is This Answer Correct ? | 2 Yes | 2 No |
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 |
How you debug your script?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
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
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??
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
CAN I CALL A FUNCTION IN ACTION.IF YES PLEASE HELP ME
Can we record using all the modes in a single script? Explanation with example is appreciated
What is API?
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
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
How to pass parameters into an action.Please explain me with examples
Differences between QTP & Winrunner?