Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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?

2161


What is an object repository?

998


What are the Disadvantages of shared object repository?

1064


in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

1779


Explain the difference between check point and output value?

948


What are the features and benefits of quick test pro (qtp 8.0)?

1057


What is difference between design time and run time data table?

1077


Key word driven framework

2123


What are the views available in quicktest professional?

975


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?

2017


Describe how Smart Identification is used

2176


What do you to script when objects are removed from application?

1017


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

1928


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

1478


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

1263