How to retrieve value (data) from notepad using QTP ?
Answer Posted / dinesh
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 ? | 20 Yes | 1 No |
Post New Answer View All Answers
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
What are the different ways to invoke an application using QTP?
What are the differences between quicktest professional and winrunner?
I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
What is action?
Suppose I want fail that check point? How can you do that?
What are the different types of recovery operation?
What are advantages of test automation?
write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........
How to customize qtp?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
What is fragmentation and paging?
What is Unicode Compatibility?