How can you Open a Notepad and How can you write the test
Resuts in Notepad by Using QTP?

Answer Posted / sushma

Result = "The test is passed"
Set a=createobject("Scripting.filesystemobject")
Set b=a.opentextfile("E:\raju\1.txt",2)
b.writeLine Result
b.close
Set a = Nothing
Set b = Nothing

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object

2520


write script for bitmap image?

1531


What are the differences between qtp and winrunner?

517


Can you write a script to check if the folder exists or not?

508


1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

1494






how to test Web application using QTP software

1557


Explain different checkpoints in qtp.

716


Connect to QC using AOM.

1229


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

978


what is Property......End Property loop? how to write sript for it in QTP

1883


What is checkpoint in qtp?

546


iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com

1390


please give me the code for doing retesting of gmail login page using functions so the function has to give the value

1540


Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?

1390


How to use parameterization in qtp?

616