Overview

Overview

Welcome to QTP interview questions

Hello software Quality engineers. Welcome to our Software testing world and common QTP(Quick test pro) related technical issues, interview questions etc. . Over 2 years, I am trying to update all possible interview questions in testing area of QTP. With your continuous comments on the topics and suggestions, we are growing day by day.

Wednesday, December 19, 2007

. How do I make D test prompt D user 4 input while it is running?

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

No comments:

Post a Comment