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
Explain about filter expression?
What is dictionary object in vbscript? Explain?
How will you reverse a string in vbscript?
Mention what is the main difference between function and sub-procedure?
Illustrate briefly about the different types of statement
What is the use of the recordset object and which statement is used to create such an object?
Explain about the extension .hta?
How will you get a subset of a array in vbscript?
How will you convert a given number to long in vbscript?
Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function
Which object provide information about a single runtime error in a vbscript?
What are the advantages of vbscript?
What is the use of the instr function?
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
Mention how to create a cookie using vbscript?