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

Hi, Can anyone help me with: How to select a value from combobox and check the checkbox and set the filter. I have to set a filter by selecting a value from dropdown. Also, im using UFT 11.5 so can anyone help me with code for UFT. Thanks Sreevidya

1 Answers  


Where you get the run time data table?

0 Answers  


When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?

4 Answers   BirlaSoft,


Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?

3 Answers  


In qtp,how to interact tool & application build?

1 Answers   Polaris,


What is meant by virtual obj and Y do v need virtual obj configuration.

4 Answers  


what testing activities u may want to automate?

2 Answers  


wht is Manual Testing Frame work. Pls anybody can give appropriate answers

0 Answers   Satyam,


how to get the data from a winedit box in vb scripting and store it in a variable if data contains "_"(i.e data is TEST_1)

3 Answers  


How i can change shared repository to per test repository in qtp

1 Answers  


How to manage a drag drop event in the qtp

3 Answers  


How we can do Batch testing in QTP?

6 Answers   Kanbay,


Categories