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...

please clarify the question .................
i know how to open the notepad file ?
but i don't know how to enter the data into opened notepad ?

Ex: set a=createobject("wscript.shell")
a.run "Notepad.exe"

please give the replay.
my mail id is raju.ippali@gmial.com, 9823257761

Answer Posted / kamal

set fso=createobject("scripting.filesystmeobject")
set fptr=opentextfile("c:\sample.txt",2,true)
fptr.writeline("this is sample program")
set fptr=nothing


in this 2 for write mode and true for if file doesn't
exist, it can create a new file sample.txt, if we give
false, it can open the file sample.txt which is already
exists.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.

7065


how to convert 100 into hundred repees only and viceversa

1846


in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?

7074


what is run action?

1863


QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue

6122


How to data driven test for Win objects in QTP ?

1877


How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?

1962


How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?

2274


Can we run multiple QTP scripts one after the other without manual intervention? How?

994


How many ways is to parameterize the value?

1078


What is Test Fusion Report in QTP?

1098


HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...

2782


hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com

2018


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

1911


How to handle the exceptions using recovery secnario manager in quicktest professional?

1070