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

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

1695


Explain sga memory structures?

671


What are the differences between sub procedures and function procedures?

610


please can you help me to get a code of flames using a visual basic 6

1320


wht must be the interview question on corinthian information technology solutions incorporated.

2285






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.

4840


Explain about tristate constants?

669


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

1658


Explain about tristate constants in vbscript?

706


write any ttest cases using check points and parameterization

1915


How you can call vbscript functions?

658


How to take whole text output from screen of Bitmap Application.

1942


when we use filter funtiom invb script(QTP)

2382


What are the disadvantages of vbscript?

752


Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com

1910