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
I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
How you can write contexts to text file in qtp?
How to test results for qtp ?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
Hybrid framework supports Descriptive programming. Is it true?
How to add synchronisation points in qtp?
How to use checkpoints in qtp ?
How you know that a test case is a regression test case
what is the difference between data driver & data driven and driver script?
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.
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
what is the advantages and disadvantages of using functions instead of re usable actions
Explain how you can find length of array in qtp?
Describe the differences between functions and actions in UFT?