How to open any application during Scripting?
Answers were Sorted based on User's Feedback
Answer / ramyab.mca@gmail.com
Hai...
SystemUtil, object used to open and close applications and
processes during a run session. 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)
K,Byeee...
Thanks & Regards
B.Ramyasri
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / lakshmi
We can open any application in QTP using system util.run
and by rec and run settings.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / 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 |
What is the use of sendkeys.In which cases we Use this sendkey.Pls explain with example.
after initiating one project for testing, when exacltly QTP tester role starts?
what is clean sweep?
While writing script using For Next Statement in QTP, I try defining the variable in Lib File I am getting syntax error whereas if I use the variable in script file, the script works fine. Can anyone help me in finding the reason behind this?. E:g Dim intStartRow (Define in Lib File----- say abc.vbs) Dim intRow (If I define this variable in Lib file I am getting Syntax error where as if I define in the script file ---- say xyz.mts the script works fine) IntStartRow=2 For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count ‘Some Code here Next
what is the difference between DATA TABLE and DATA SET?
Can we run test with out adding object in object repository? How it is possible?
How to write business scripts using object repository with different scenarios
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.
Iam trying to write script for Rediffmail Page,in doing so the script line for go button is not accepting. Is their any other way other than . Browser("micClass:=browser").Page("micClass:=Page").Link ("micClasss:=Link","name=go")
What are the Features & Benefits of Quick Test Pro (QTP 8.0)?
What is Data driven Testing Frame work.Anybody can expain it in Detail.. Pls anybody can give the answer.. Thanks in advance...
how to use import and export sheet methods in qtp