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

Hi,
I need to accept user inputs for login at runtime.I know i
can use Inputbox but how to proceed further that i dont
know.

Thanks in advance

Answer Posted / sangee

user=inputbox("enter the user","login","sam")
browser("Welcome: Mercury Tours").Page("Welcome: Mercury
Tours").WebEdit("name:=userName").Set user

hint: sam is optional,u can enter the user name at the
runtime also.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the rules to name variable in vbscript?

1039


How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...

3403


Differentiate javascript and vbscript?

991


For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com

2163


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

1337


How to replace junk code recorded by QTP with a mall function.

2045


What is the use of the formatdatetime function in the vbscript language?

979


How to capture a runtime error in vbscript?

1111


how to comvert 120 into one hunderd twenty rupees only and vice varsa

2317


Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?

3425


What are the 2 ways in which a variable can be declared in the vbscript language?

1034


How should i Create Email invite with server-side Coding?

2086


Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder

2107


Does VB/Win make standalone .EXE files?

3376


Which command is used for writing text on a page?

960