Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Input Box
#3
Not Solved
Ankur Wrote:inputbox is generally used to test whether your automated script is working fine or not, then data is taken from datatable.
Well, all it does is take a value from the user and assigns it to a variable.

QTPVV Wrote:Do we have option in QTP to have input box which will have radio buttons so that users can select one of the radio button. Unlike as now with Inputbox user has to type in value.
Technically, this is possible. But here, you will have to feed the property of the RadioButton that you want the value to be set in. Something like this:

Code:
SystemUtil.Run "iexplore.exe", "www.hotmail.com"
sName = InputBox("Enter WebEdit name")
Browser("micclass:=Browser").Page("micclass:=Page").WebEdit("name:=" & sName).Set "userName"

When the InputBox pops up, enter "login" (without quotes). Login is name description of the WebEdit.

However, this method is not recommend. It is for informational purposes only. Smile
Reply


Messages In This Thread
Input Box - by QTPVV - 02-19-2008, 05:26 PM
RE: Input Box - by Ankur - 02-19-2008, 08:57 PM
RE: Input Box - by Anshoo Arora - 05-11-2008, 06:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to input Japanese Character through UFT Alaguraja 0 812 07-01-2020, 11:32 AM
Last Post: Alaguraja
  How to get input from the user in QTP? shanthiK 10 18,206 08-07-2017, 11:34 PM
Last Post: zunebuggy
  Problem in Input from keyboard:sendkeys Rachna 1 4,793 10-14-2013, 06:07 PM
Last Post: anil2u
  How to Pass Output value as input from one IE windoe to another IE window newqtp 0 2,310 01-24-2013, 08:36 AM
Last Post: newqtp
  Default value in Edit Box when Check Box is checked nacchio 2 4,895 07-18-2012, 12:21 PM
Last Post: sree.85

Forum Jump:


Users browsing this thread: 1 Guest(s)