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 difference between modular and data and keyword driven framework

0 Answers  


plz give ans to this in vb script........ "krishna radha" i want to print this string "Radha Krishna" like this

5 Answers  


How will you get a string with the specified character the specified number of times in vbscript?

0 Answers  


Is vbscript a case-sensitive or case-insensitive?

0 Answers  


Explain vbscript in detail?

0 Answers  






What is vbscript procedures?

0 Answers  


Anyone have qtp11.0 crack?

0 Answers  


Why to use option explicit in vb script?

0 Answers  


Is VB Script Case sensitive or Case insensitive?

0 Answers  


What are the properties of regexp object?

0 Answers  


In html file what is an ideal position to include vbscript?

0 Answers  


How do you create a recordset object in VBScript?

3 Answers  


Categories