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
Answer Posted / 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 |
Post New Answer View All Answers
Which operator can be used to change the value of the operand or change the state of the condition?
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
What is the difference between a dictionary and an array?
what is used of Property........End Property loop ? how to write the script for it?
What are class properties?
Mention how to create a cookie using vbscript?
Can automation testing find ssame no. of bugs what we can find by manual testing?
how to operate webobjects in a webpage using getobject function and then using generic methods?
How strcomp function works?
Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function
Can u describe what kind of testing are for OTC derivates by banks.
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
What is loose binding? Why is it not a good practice to use it?
How are values assigned to the variables in the vbscript language?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?