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
Answers were Sorted based on User's Feedback
Answer / bala
hai this bala,
i know the answer as per my knwoledge
try it once
script for flight reservation:-
n=inputbox("enter how many times you want give")
for i=0 to n
a=inputbox("enter user name")
dailog("Login").winedit("Username").set a
b=inputbox("enter password")
dialog("Login").winedit("password").set b
dailog("Login").winbutton("OK").Click
stmtms---------------
--------------------
-------------------------
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
how to display all the links in one page using vb script in qtp.
1 Answers DST Global Solutions,
What are subprocedures in vbscript?
What are the different types of loops available in the vbscript language?
How to capture a runtime error in vbscript?
What are the advantages of vbscript?
Explain the operator precedence in vb script?
Give examples where vb script can directly run on users system with windows as os?
How can you create a file object to work with the files in the vbscript language?
Plz give the vb script for the following scenerio. In travel booking we have to select from delhi to mumbai from the combobox The prices will be display in another combo box .But i have to select the lowest price for it and submit it
What is the difference between a dictionary and an array?
What is the scope of a constant declared using public?
How will you get a random number between 0 and 1 in vbscript?