Forum Discussion
Yes the thing here is its multiple parameter with predefined selection, so i guess it should be a parameter.
OnFormShow, use this event handler. When the form shows, populate the drop down values in the combo box. Then, when OK is clicked on the form, take the value from the combo box as selected, and pass it through as the value for the parameter.
- longchasen7 years agoContributor
Look at this Log Message key word test parameters:
it has multiple parameters with different type editor, more or lesss this is what i need. I can only setup a text box type , what i need is a multiple parameter editor with predefined combo selection. Is this possible in extension?
- tristaanogre7 years agoEsteemed Contributor
Check out this article. https://support.smartbear.com/testcomplete/docs/working-with/extending/script/creating/keyword-test-operations/basic.html
Specifically... scroll down until you get to
(Optional) Creating the operation’s edit form
Besides in-place editing in the Keyword Test editor, custom operations can use forms to provide visual access to their parameters. This edit form is displayed when the user adds the operation to the test or double-clicks an existing operation in the test. See Creating the Operation Setup Routine and Using Forms in Script Extensions.
Basically, you would replace the default form with your own custom form.
Also, see
- longchasen7 years agoContributor
The thing here is like the Log message with multiple parameters i want other parameters to have a drop box option with predefined data and some simply text box. I dont see in documentation where you specify in Columns editor type a parameter type while customizing each of parameter selection like log message had. perhaps i take this as limitation of TC.
Regards,
Joey
Related Content
- 10 years ago
- 4 years ago
Recent Discussions
- 10 hours ago