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 |
What is the output of a + b in vbscript if a = 5 and b = 10?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
How to generate 3 digit random number?
How to find arry size in qtp vb script
wht must be the interview question on corinthian information technology solutions incorporated.
WHAT IS ENVIRONMENT VARIABLES?and where it is used in real time scenario?
How will you format a number in percetage format in vbscript?
What is the main difference between function and sub-procedure?
Mention what are the rules to name variable in vbscript?
How will you get a combined string from array of string in vbscript?
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
how to get date format from system locale..format means neither long nor shor... format from system locale. i need like your date is mm/dd/yyyy formate or mm-dd-yy or with time like that. how to get.