cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get a dropdown selection for parameter of string type?

Highlighted
Senior Member

How can I get a dropdown selection for parameter of string type?

Hi all,

 

I have a script function that takes in parameters and I want to create a Test Item with that function where I can select from a dropdown to pass in the parameter. 

How would I go about doing that?

 

I have attached screenshots of what I'm trying to do.

----

Problems with how I'm trying to do it if I just create Variables for each possible value to pass in:

1. too many variables if there are a lot of possible values.

2. the same variables are reusable for each parameter which is not what i want, I want to limit it where each parameter can only have x amount of choice.

3. if I add more Test Item, those variables are also available for those Test Items which is not what I want.

 

---

I'd appreciate any suggestions, guidance or a different way of approaching it.

 

Thanks.

1 REPLY 1
Community Manager

Re: How can I get a dropdown selection for parameter of string type?

Community, your suggestions?

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
New Here?
Join us and watch the welcome video:
Top Kudoed Authors