Can Any One Write How to Write the Script for Child Objects
Answer Posted / kanda
Here i am giving one example to create New file in New
Folder and to write a "Hello World" in that file
File System Object Model
----------------------------
set fso =createobject("scripting.filesystemobject")
set newfolder = fso.createfolder("C:\QTP",True)
Set newfile = newfolder.createtextfile("C:\QTP\Test1",True)
newfile.writeline("Hello World")
newfile.close
Try with tis..I hope it will work
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?
What is an object repository?
What are the Disadvantages of shared object repository?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
Explain the difference between check point and output value?
What are the features and benefits of quick test pro (qtp 8.0)?
What is difference between design time and run time data table?
Key word driven framework
What are the views available in quicktest professional?
i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?
Describe how Smart Identification is used
What do you to script when objects are removed from application?
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link