The VBScript InputBox function allows U 2 display a dialog box that prompts D user 4 input and Dn continue running D test. U can use D value that was entered bi D user later on in D test. See D VBScript reference manual 4 more information on D InputBox function.
The following example shows D InputBox function used 2 prompt D user 4 D password.Browser("Mercury 2urs").Page("Mercury 2urs").WebEdit("username").Set "administrator"
Passwd = inputbox ("Enter password", "User Input")
Browser("Mercury 2urs").Page("Mercury 2urs").WebEdit("password").Set Passwd
Showing posts with label input value. Show all posts
Showing posts with label input value. Show all posts
Wednesday, December 19, 2007
. How do I make D test prompt D user 4 input while it is running?
Posted by
QTP FAQ's Jobs interview questions
at
9:37 AM
0
comments
Subscribe to:
Posts (Atom)