Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 21061

Assign a variable from a ComboBox in a UserForm

$
0
0

Hi...  I am working with a UserForm in a Keyword test.  The Keyword test first opens my userform, which has two dropdown boxes.

  • Dropdown 1 is XferType, which has 3 different selections.
  • Dropdown 2 is Department which has about 25 or so different selections.

Based on what the user selects in the dropdown boxes, I am trying to assign those values to variables in my Keyword test using the Set Variable statement.  The variables are TransferType and Dept.

 

Then I have a simple message appear showing the value of the TransferType variable to verify that the value assigned correctly.  I keep getting an Error -  Type mismatch.

 

I have attached a screenshot showing what I have going on.  Does anybody see what I am missing here?

 

Thanks for your time. 

 

Dave.

 

 


Viewing all articles
Browse latest Browse all 21061

Trending Articles