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 Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default object synchronization timeout in qtp?

882


How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?

3704


in a web page How to check and display a particular word from a paragraph?

2277


How many types of recording facility are available in quicktest professional (qtp)?

812


Does quicktest professional is unicode compatible?

697


Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..

1511


when u script reveiwing in which area u more concentrates?

1647


Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??

1849


In qtp is it possible to check broken links of a page?

773


What is object spy in quicktest professional (qtp)?

727


Have you used xml check point in your project? How?

751


How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box

2058


Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji

1550


How can you write the scripts that operate on different objects depending on run-time information?

2344


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.

6856