Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?

Answers were Sorted based on User's Feedback



I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run ..

Answer / sathishkumar

You can open the notepad by using the below code:

Invokeapplication "notepad.exe"

Is This Answer Correct ?    6 Yes 1 No

I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run ..

Answer / ravi

Dim s
Set s= create object("wscript.shell")
s.run"notepad"
set s= nothing

Is This Answer Correct ?    4 Yes 0 No

I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run ..

Answer / mukesh

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 ?    1 Yes 0 No

I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run ..

Answer / poo

invokeapplication("notepad")

Is This Answer Correct ?    1 Yes 0 No

I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run ..

Answer / gopikrishna

hi,

Sreeprasad saying is perfect.

Is This Answer Correct ?    0 Yes 0 No

I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run ..

Answer / chaitu

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 1 No

I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run ..

Answer / ravindra

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

I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run ..

Answer / tvs ramakrishna chowdary

what ever Ravi said that is obsolutly 100% correct..

Is This Answer Correct ?    0 Yes 0 No

I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run ..

Answer / indra

Set fso = CreateObject("Scripting.FileSystemObject")
fso.OpenTextFile("c:\testfile.txt", ForWriting, True)

Is This Answer Correct ?    0 Yes 0 No

I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run ..

Answer / ram.polavarapu

dim ws
set ws=createobject("wscript.shell")
ws.run"notepad.exe"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How many number of actions possible in qtp?

0 Answers  


What are table and db checkpoints?

0 Answers  


Using Regular expression method some particular value is not present in given value. HOow do use regular expression? Forexample password all number,character ,special character are accepted but (_',)underscore,comma are not used. How do write regular expression.

1 Answers  


What type of VB script u had done in expert view?

1 Answers  


Can anybody give the script of below things. 1. Add sheet 2. Adding columns 3. Set the values in that columns(In the rows) 4. Close the sheet 5. How can we create 3 sheets in one Excel sheet??

2 Answers   TCS,


How to add verification steps to tests?

1 Answers  


When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)

3 Answers  


How often were they executed?

0 Answers   Sarga Technologies,


Is it possible to call out to Java from QTP?

2 Answers  


If an application name is changing frequently i.e while recording it has name “Window1” and then while running its “Windows2” in this case how does QTP handle?

7 Answers   Covansys,


How to run a test using quicktest professional?

0 Answers  


1...HOW MANY TYPES OF OBJECT REPOSITORY ARE THERE IN QTP? 2....WHAT ARE THE REPOSITORY FEATURES EXPLAN. 3...HOW TO CREATE A RECOVERY SCENARIO? WHAT DOES RECOVERY SCENARIO MANAGER DO? 4...OPEN A WORD FILE AND MODIFIED WITH SOME VALUE USING QTP? 5... HOW TO CREATE EXCEL FILE USING QTP? 6... HOW TO RETRIEVE A VALUE FROM WEB TABLE? 7... WHAT IS QC REQUIREMENT TAB DO ? HOW TO MAP THE REQUIREMENT? 8... HOW TO PASS A VALUE FROM EXCEL FILE TO SCRIPT? 9...WHAT IS THE USE OF SPLIT FUNCTION?

1 Answers   RBS,


Categories