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



Hi, I need to accept user inputs for login at runtime.I know i can use Inputbox but how to procee..

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

Hi, I need to accept user inputs for login at runtime.I know i can use Inputbox but how to procee..

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

Post New Answer

More VB Script Interview Questions

What is the output of a + b in vbscript if a = 5 and b = 10?

0 Answers  


write a function to read the items from combobox of Flight reservation & save in excel (QTP)??

0 Answers  


How to generate 3 digit random number?

3 Answers   IBM, Virtusa,


How to find arry size in qtp vb script

2 Answers   Cap Gemini,


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

0 Answers   HP,






WHAT IS ENVIRONMENT VARIABLES?and where it is used in real time scenario?

2 Answers  


How will you format a number in percetage format in vbscript?

0 Answers  


What is the main difference between function and sub-procedure?

0 Answers  


Mention what are the rules to name variable in vbscript?

0 Answers  


How will you get a combined string from array of string in vbscript?

0 Answers  


Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.

0 Answers  


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.

2 Answers  


Categories