Exactly, I want to develop a script extension to provide a custom keyword.
There will open a custom user form OnSetup of the keyword. The user can choose some options in this user form - including the selection of a variable / Excel cell.
Your thread was very helpful for me - though I have some issues why these solutions don't work for me:
- I can't make use of the "parameter solution" because I need to trigger the variable/parameter editor from my custom user form. When I implement the parameter solution, I get this editor always at the end of my OnSetup-method, when it returns true. (https://support.smartbear.com/viewarticle/68119/)
- And I've got problems to use your approach because I also need to access table data (from an Excel file).
So I'm in the unlucky position to need "the best of both worlds":
- the independent way, that lets you pick the variable at any point in your script (and not just at the end, when "true" was returned)
AND
- the support by TestComplete built-in components to access Excel data in a convenient way (in other terms: avoid the use of ExcelDriver because the user has to select it)
I hope, this helped to clarify my problem - if not, please ask!
I would appreciate it if someone has seen a solution for this or can think of a workaround. :-)