Example -
Below code will get input from user
Inputbox function displays a dialog box and waits for the user to input value in the textbox.
When user enters a value and clicks ok Button, It returns the contents of the text box.
This is how we can get input from user in QTP
Below code will get input from user
Inputbox function displays a dialog box and waits for the user to input value in the textbox.
When user enters a value and clicks ok Button, It returns the contents of the text box.
Input =InputBox(
"Enter your age")
MsgBox ("Your age: " & Input)
This is how we can get input from user in QTP
No comments:
Post a Comment
Please Leave your reply. We value your feedback and inputs