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...

How to find local host name using QTP?

Answer Posted / sailaja

The above code is giving error at for loop
Dim fso,notepad
set fso = createobject("scripting.filesystemobject")

file_path = "c:\nandu.txt"
'forwriting =2
'forreading = 1
set notepad = fso.createtextfile(file_path,1)
notepad.writeline "this is created by Nanda"
notepad.writeline"this is created on "

set notepad = fso.opentextfile(file_path,1)
Do
n = notepad.readline
msgbox n

Loop until ( notepad.atendofstream=true)

This will work fine.

Thank you
Sailaja

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you capture tooltip using QTP?

1084


Hi All, How to Compare two strings character by character in QTP

1504


How do know the number of browsers opened?

1079


Explain how you can find the absolute value of the number in qtp?

1095


I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2

1990


what is the latest version of QTP? Main difference between 9.2 and 10 version

2143


How many tabs are available to view your test in a test pane and what are they?

1071


what QTP Options do you know?

3396


How to recognise the webelement and verifying that webelement is enabled?

2187


action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

2045


What is the difference between qtp and selenium?

1046


Explain the concept of how quicktest professional (qtp) identifies object?

1004


How to Test the mainframe application?

2368


what is actually contain test report? can anybody post the test report

1980


Will down time for server and content maintenance/upgrades be allowed? how much?

1079