Answer Posted / smitha
correct code
const ForReading = 1, ForWriting = 2
Dim fso, MyFile
Set fso = CreateObject("Scripting.FileSystemObject")
Set MyFile = fso.OpenTextFile("D:\New
Folder\somefile.txt",ForWriting, True)
MyFile.WriteLine "Hello world!"
MyFile.WriteLine "The quick brown fox"
MyFile.Close
Set MyFile = fso.OpenTextFile("D:\New
Folder\somefile.txt",ForReading)
ReadLineTextFile = MyFile.ReadLine ' Returns "Hello world!"
MyFile.ReadLine
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
How many types of recording modes in qtp? Describe each type with an example where we use them?
How would you directly trigger javascript in a test?
In qtp, explain what is crypt object
Connect to QC using AOM.
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
What are the views available in quicktest professional (qtp)?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
if numbers are always changing write a script for that
Problem with XML checkpoint in QTP ?
What are the trigger events in qtp?
What is action? How many types of actions are there in qtp?
in a web page How to check and display a particular word from a paragraph?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?