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 can you find Local Host Name by Using QTP?

Answer Posted / nani

Hi let u try this code to know u r user name and local host
name.

x= Environment.Value("UserName")

msgbox x





Set sys = CreateObject
("ADSystemInfo")

msgbox "UserName: " &
sys.UserName

msgbox "Computer: " & sys.ComputerName





x=Environment.Value("UserName")

Nani..

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.

1826


which type of testing process are you following in ur company? how to recognize a qtp page?

1790


How to get popup error message.

1563


how to find that tools work well with ur existing system?

1924


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

1876


How to break the object spy ?

1199


What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);

4004


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

3358


how can i call function (which has link with excell sheet at a remote location) within another function

2022


Explain measuring transaction.

1046


How to associate function library at a run time?

1132


Can you write a script to check if the folder exists or not?

990


In qtp, explain what is keyword driven automation framework?

1056


How to creating an output value using quicktest professional (qtp)?

1015


unique properties of button,edit box, radio button,check box?

4512