Micro Focus QTP (UFT) Forums
How to Create Radio Button in QTP - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to Create Radio Button in QTP (/Thread-How-to-Create-Radio-Button-in-QTP)



How to Create Radio Button in QTP - edqtp - 02-20-2010

Hello
I would like to create a radio button with three options and assign it to a previously created variable. May someone help me with the coding?
Thanks


RE: How to Create Radio Button in QTP - Saket - 02-22-2010

what exactly you need to do, please explain.
You can use dotnetfactory to create radio buttons
refer - Part4: QTP and DotNetFactory – Creating Text Box, Check Box and Radio Button Control


RE: How to Create Radio Button in QTP - edqtp - 02-23-2010

Thanks for the respond

The coding in the attached link is actually working. My goal is that during the script run the radio button will appear where the user has to decide one of the options which will be assigned to a variable and used in the script. In QTP help I was looking for similar coding like MsgBox or InputBox Function which requires less coding.
Is this is the only way to create a radio button?


RE: How to Create Radio Button in QTP - Saket - 02-23-2010

Yes, as per my knowledge this is the only way to create a radio button in QTP scripts.