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 |
Whenever i'm running 3 diffrent scripts in a Test Batch Runner as a batch. its not showing any result. QTP only runs all the scripts n nothing else. B4 running the test batch i have done all the settings, But still its not working.
interviwer asks what is data table? my ans is Data table is an internal Excel file of QTP...intervier not happy with this also? can u post any other answer?
In descriptive programming how we know the properties of the objects, if application is not developed and the prototype of the application is also not developed.
How many tabs are available in debug viewer pane?
How to Install QTP on Citrix Environment? Possible send me the installation steps.. That would be great help
How to open any application during Scripting in QTP?
Without using gui map editor we can recognize the application in winrunner ?
In a web application , there is a table of rows and coloums , i want to pickup the 1st row and 3rd coloums name (not data)how can any one explain
How to Synchronize the Browser at Field level? For example if you put Browser.sync(), its waiting upto for that Browser sync only. It should wait total Browser get upload with fields.
Can you expect major bugs in Net banking Application?
What's QuickTest Window?
VM1 = "Invalid username or password. Please try again. " VM2 = "Email id is required.Password is required. " VM3 = "Email id is an invalid e-mail address.Password is required. " VM4 = "Password is required. " VM5 = "Email id is required. " VM6 = "Email id is an invalid e-mail address. " 'Rowcount of the Local sheet Rowcount = DataTable.GetSheet("Invalid login transactions").GetRowCount 'Valid emailid and Password Emailid = "test@iteamic.com" Password = "Password0" 'For i = 1 to Rowcount 'Parameterised Email_id Browser("Browser").Page ("Page").WebEdit("emailAddress").Set DataTable("Email_id", dtLocalSheet) EID = Browser("Browser").Page ("Page").WebEdit("emailAddress").GetRoProperty("value") 'Parameterised Password Browser("Browser").Page ("Page").WebEdit("password").Set DataTable("Password", dtLocalSheet) PWD = Browser("Browser").Page ("Page").WebEdit("password").GetROProperty("Value") If EID = Emailid And PWD = Password Then Reporter.ReportEvent micPass, "EID & PWD check", "Email id and Password is correct, One iteration of Invalid login attempts is not being executed" Else Browser("Browser").Page("Page").WebButton ("Sign-In").Click 'Output value exported to the local sheet Browser("Browser").Page ("Page_2").Output CheckPoint("Home page_Sign in") 'Storing the output value in a variable(OUTPUT OUTPUT = Datatable.GetSheet ("Invalid login transactions").Getparameter ("Validation_message_signin").value 'comparing the Variable Output and the Validation message for a given input If OUTPUT = VM1 Then Reporter.ReportEvent micPass, "VM1", "Invalid username or password. Please try again. " else if OUTPUT = VM2 Then Reporter.ReportEvent micPass, "VM2", "Email id is required.Password is required. " else if OUTPUT = VM3 Then Reporter.ReportEvent micPass, "VM3", "Email id is an invalid e-mail address.Password is required. " else if OUTPUT = VM4 Then Reporter.ReportEvent micPass, "VM4", "Password is required. " else if OUTPUT = VM5 Then Reporter.ReportEvent micPass, "VM5", "Email id is required. " else if OUTPUT = VM6 Then Reporter.ReportEvent micPass, "VM6", "Email id is an invalid e-mail address. " else Reporter.ReportEvent micFail, "EID & PWD check_FAIL", "Validation message checkpoint failed. The captured v msg is not required" End if End if I am getting syntax error saying "Expected 'End If'" at the last line, Why is this? Kindly explain...