Forum Discussion

DCat1223's avatar
DCat1223
Frequent Contributor
9 years ago

Create Dropdown box to use for Parameters

Good morning all... Does anybody know of a way to create a dropdown box to use in a Keyword test?  What I am looking to have is a dropdown box listing several departments as parameters.  Based on th...
  • AlexKaras's avatar
    9 years ago

    Hi Dave,

     

    For example, you may consider to implement User Form (https://support.smartbear.com/viewarticle/69674/) in your test...

    But note that in this case your test cannot be executed unattended (without additional coding to close the displayed User form) because the displayed User form must be processed manually.

    One more approach is to provide the needed parameter as either a command-line parameter (https://support.smartbear.com/viewarticle/72085/), the value of some configuration file, or as a value of the Project variable (which can be set from within TestComplete but from within TestExecute). The advantage of any option from the latter approach is that it makes it possible the tests to be executed unattended.