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 are the properties of regexp object?
How do display output message without using msgbox function?
Find Out Length of an array without using Ubound?
how to retrieve native property value in runtime?
How to pass the parameter from one function to another function in VB Scripting?
generic function for webedit box for web application
In our application qtp unable to indentify the menu items,we tried number of times to add objetcs into object repository but fail. through normal recording mode only objects going to add into repository but while running same recording script qtp showing a error like " unable to indentify the object". in repository there is no any properties and pro values for that object and also i tried with virtual object config also unable to find the object in application and in repository. Then what i have to do to identify menu objects????? can anybody hell me pls..............
How to open excel in vb script?
i need to sort the data using qtp script for this how i need to write a qtp script
input values to accept 2 numbers & print the product, difference and sum using switch case
Is vbscript language a case-sensitive language and what does it mean?
What is the purpose of regexp object in vbscript?