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 |
what is the framework followed by ur company in qtp
How does Parameterization and Data-Driving relate to each other in QTP?
WHO IS THE BEST FACULTY FOR QTP IN HYDERABAD? A) NAGESHWAR RAO- MINDQ B) SURESH REDDY -SMART SOLUTIONS C) SURESH BABU- Q EDGE D) VENKAT - LIVE TECH E) GC.REDDY - HI-TECH CITY F) NONE OR OTHERS
How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
What is smart identification?
Hi What are re-usable actions in QTP? -Thank You
Hi, one script having 10 Actions,but i want to execute only 3rd action and 7th action? how to execute selected actions? throgh script and through navigation?
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
hi,i have a pblm in qtp,im testing an webappl in which different types of error pop up messages are displayed which qtp is not differentiating or it is not recognising. how do i make it recognise different popup errorm messages while writing script?
7. Given scenario is like this: One Web table is there and you have to search and retrieve a cell data which is equal to the given number say:123. Assume you have given with the column name/id of the table where the number may exist. So now you have to go to the given column and search for the number 123 and retrieve it along with the row number of it.
How to Parameterize Object repository in QTP?