ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
I want to open a Notepad window without recording a

test and I do not want to use SystemUtil.Run command as

well How do I do this?
 Question Submitted By :: Sreeprasad
I also faced this Question!!     Rank Answer Posted By  
 
  Re: I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?
Answer
# 1
U can still make the notepad open without using the record

or System utility script, just by mentioning the path of

the notepad "( i.e., where the notepad.exe is stored in the

system) in the "Windows Applications Tab" of the "Record

and Run Settings window. Try it out. All the Best.
 
Is This Answer Correct ?    0 Yes 2 No
Sreeprasad
 
  Re: I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?
Answer
# 2
You can open the notepad by using the below code:

Invokeapplication "notepad.exe"
 
Is This Answer Correct ?    3 Yes 1 No
Sathishkumar
 
 
 
  Re: I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?
Answer
# 3
sree prasad absolutely correct
 
Is This Answer Correct ?    0 Yes 0 No
Ramesh Kolla
 
  Re: I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?
Answer
# 4
hi,

Sreeprasad  saying is perfect.
 
Is This Answer Correct ?    0 Yes 0 No
Gopikrishna
 
  Re: I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?
Answer
# 5
hi,

u can open a Notepad by using record and run setting for 
windows application ( there u can give the path of 
notepad.exe) and also by invokeapplication method
there u have to give the physical path of notepad
for ex (c://programfiles/.....)
 
Is This Answer Correct ?    0 Yes 0 No
Mukesh
 
  Re: I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?
Answer
# 6
You can open the Notepad through this method also

Set Notepad = CrateObject("Notepad.Application")
Notepad.visible = Ture

Set Notepad = Nothing
 
Is This Answer Correct ?    1 Yes 0 No
Chaitu
 
  Re: I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?
Answer
# 7
Setfso = CrateObject("scripting.filesystem object")
setf=fso.opentextfile("path of that notepad file",mode of 
file,value)
while (f.end of line)<>true
x=f.readline
some statements
f.close
 
Is This Answer Correct ?    0 Yes 0 No
Ravindra
 
  Re: I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?
Answer
# 8
Dim s
Set s= create object("wscript.shell")
s.run"notepad"
set s= nothing
 
Is This Answer Correct ?    0 Yes 0 No
Ravi
 
  Re: I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?
Answer
# 9
invokeapplication("notepad")
 
Is This Answer Correct ?    0 Yes 0 No
Poo
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
IF THE GUI OF APPLICATION IS CHANGED THEN IS THERE ANY NECISSITY TO CHANGE OR UPDATE OUR TEST SCRIPTS  2
Where should we turn Smart Identification ON in QTP?  5
Hello friends can anybody tell me about the architecture of QTP with diagram of it.this architecture is same for any domain like ERP/Banking/CRM/Healthcare or it's different then please tell me.thanks Fidelity4
which tpye of exceptions mostly do we face in QTP  1
how can we know the program is testing by multiple test data in data driven frame work? CTS1
Suppose u write test case in Excel sheet . how u open that test case in Test Director? Ordain-Solutions3
what is a test strategy & what is the difference between test strategy & test plan?  4
some times we write user define functions.where we write main and sub program,how,where to insert the functions in qtp? GE1
can u please explain what r the challenges u faced in ur automation testing Genpact1
Can any one tell me Difference between Keyword Driven Frame work and Hybrid framework? Its Urgent. IBM1
if i have 10 actions and out of 10 actions last 3 actions i renamed will my script exicute sucesfuly r not? changed actions where i can see? IBM1
How to use Regular Expressions in QTP? give an example. Ordain-Solutions9
How to handle exception when data table is not available in local host system or path is not correct(explain statement with example)  1
What will be the script for recovery scenerio.plzanyone give ans with aexample related to banking project Yahoo2
How do u connect database through QTP tell me both Ms Access and SQL Livetek2
How to set the function parameters as optional. Pls anybody can give the answer.. Thanks in advance... Navis2
what are the metrics in general we use in testing Tanla-Solutions1
Hi guys i'm prepareing for interview question for qtp i don't have bayground for vb scipt language can any one tell me it is easy to do job in qtp without bayground.  3
I have 3 add buttons of same properties in my page but i want trigger one of them i required in my recovery scnario manager is qtp recognizes it to recovre d scnario if so how qtp recognizes it  3
How can i count "spaces" in any sentence or a string if suppose " It is a Testing question" Here we have 4 gaps(spaces) Is there any function to find out spaces between words Livetek3
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com