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
What are the rules to name variable in vbscript?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
Differentiate javascript and vbscript?
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
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
How to replace junk code recorded by QTP with a mall function.
What is the use of the formatdatetime function in the vbscript language?
How to capture a runtime error in vbscript?
how to comvert 120 into one hunderd twenty rupees only and vice varsa
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
What are the 2 ways in which a variable can be declared in the vbscript language?
How should i Create Email invite with server-side Coding?
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
Does VB/Win make standalone .EXE files?
Which command is used for writing text on a page?