ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
How to retrieve value (data) from notepad using QTP ?
 Question Submitted By :: Ruheen
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to retrieve value (data) from notepad using QTP ?
Answer
# 1
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("C:\Documents and 
Settings\xxxx.txt", 1)
Do Until objFile.AtEndOfStream
 strLine = objFile.ReadLine
 msgbox( strLine)
Loop
objFile.Close
 
Is This Answer Correct ?    5 Yes 0 No
Dinesh
 
  Re: How to retrieve value (data) from notepad using QTP ?
Answer
# 2
Script is working fine.
But when I am executing the script it ran for 5 time.
what should i do if i want to read only once
 
Is This Answer Correct ?    0 Yes 2 No
Suneel
 
 
 
  Re: How to retrieve value (data) from notepad using QTP ?
Answer
# 3
this can be done by FILE OBJECT SYSTEM.
 
Is This Answer Correct ?    1 Yes 0 No
Raghu
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
how to tell about testing a website in interview using qtp?? what r the points to be covered mainly?  2
What does VBS file contain..? what is VBS file.?  4
What is smart identification? AZTEC2
plz can any one send me what is Automation Testing Frameworks.. Thanks in advance  1
For ex we are doing automate testing in that can we do some part of application recording, some part descriptive programing and some part general VB scripting like that ............. Satyam3
if full in Object Repostoiory then how to load other Object Repository  2
In a web site, Protocal has been changed http: to https: what is your approach?  2
For Passing Parameters from one Action to another Action we will use Input & Output parameters. Can any one tell how to use this Input & Output parameters with Example ? TCS1
I dont know how to configure non standard objects to standard objects in QTP9.2 can i have someone explain me in breify? Wipro3
I want different types of discriptive programming statments coded for different types of web-objects?Give syntax and example?  1
can u write one user defined function for webedit class. Cap-Gemini4
what is the Descriptive Progarmming? how it is help to testers in QTP? TCS4
hi this is srinivasa(from blr) i complited my B.tech(e.c.e) in 2007 im searching job in s/w testing but idont have freshers resume for s/w testing please send some s/w testing resume for me(fresfers resumes only) advns thnks you  2
How u call functions in QTP Lehman-Brothers4
How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)  6
Hi Friends, Can any one answer this question? 17) What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value  1
HOW TO HANDLE THE EARRORS WITHOUT USING RECOVERYSCNEORY? PLZ TELL ME IMMIDIATLY  1
can we install qtp on server machine and do automation of application which is installed on client machine.If yes then how? If no then is there any other automation tool for this (client-server) senario.  4
what is framework in QTP? any one give me answer Wipro3
one page contain next button.when we enter that its not going to next page.what type of error that one. TCS1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com