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

I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.

1581


How may types of defects identify application or your currently working application?pls give me answer..

1599


What are the different types of checkpoints?

676


I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

679


What is the basic concept of quicktest professional?

651






Explain xml checkpoints.

701


What are the types of data tables in qtp?

663


What Folder Structure following in Keyword Driven Frame work?

2376


What is the syntax to call one action in another?

639


Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?

2421


Explain quicktest professional testing process?

634


How to add verification steps to tests?

9264


Explain how to use QTP to check broken links on a page?

677


Explain how you can find length of array in qtp?

669


What are the data types in qtp?

741