Forum Discussion

Lawrence_McNaug's avatar
Lawrence_McNaug
New Contributor
11 years ago

Select2 combo box doesn't work.

The issue is simple. We are using the Select2 combo and we cannot test the needed functionality because it will not select the option we want to test.



For example, we have a state box Select2 combo box in our forms; typing MN in the field should produce only the state "Mn - Minnesota". This functionality works in the recording process. However, upon play back the state that is actually selected is AL - Alabama (the first option in the list is 'AL - Alabama). The point is; the automation that was recorded is not playing back the same functionality.



The same type of Select2 combo boxes are used for searching for Client's, Clients Contract, Vendor and so on. Again, the same issue; either it doesn't recognize the option or it selects a different option.



Help, please.

The Test Complete version number is; 

10.40.2015.7

1 Reply

  • Hi Larry,



    I guess typing NM was recorded as SetText? Replace it with Keys. SetText doesn't fire keyboard events that the Select2 combo is listening to.



    Also, go to Tools > Options > Engines > Recording and select Keys as the default method for text recording. This will help avoid the issue in the future.