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

hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?

0 Answers   Livetek,


Am working with web application. i faced one senario. i.e, webpage having webtable having two coloumns, in that first coloumn is for serial no and second coloumn is for mac address link, now i want to get first row second coloumn value, that having macaddress as link. Please help me how to get that link?

2 Answers  


what is the differance between BYVAL,BYREF?

0 Answers  


Compare java script and vb script?

0 Answers  


write a vbscript for finding the sum of the numbers from 1- 50

3 Answers  


Anyone have qtp11.0 crack?

0 Answers  


How to Import data from a file (file is on the desktop) to the data table

0 Answers   IBM,


print the array values in ascending order?

2 Answers   CSS Corp,


How will you get the smallest subscript of an array in vbscript?

0 Answers  


create a form to accept username and password validate the username and password with using message box, display the corresponding user message

0 Answers   CSC,


what is the features of visual basic?

0 Answers  


What are the special sub-types in vbscript?

0 Answers  


Categories