Forum Discussion

sivakarthik's avatar
sivakarthik
Contributor
5 years ago
Solved

BuiltIn.InputBox Method

Hello Comunity  memmbers,

 

I have a question regarding the BuiltIn.Input Method, is there a way to set to the input method the default value after certain time duration in the script

for e.g.

BuiltIn.InputBox("'0': Abort and '1': Option Menu", "Enter a value:", "1")

  • No.  The Built-In input box basically halts the run until user input is performed. 

5 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    No.  The Built-In input box basically halts the run until user input is performed. 

    • sivakarthik's avatar
      sivakarthik
      Contributor

      Hallo Robert Martin,

       

      thanks, is there another way to do that in testcomplete 

       

      please let me know if u have any ideas

       

      thanks and regards

      SivaKartheek

      • AlexKaras's avatar
        AlexKaras
        Champion Level 3

        Hi,

         

        I am not aware about any UI input method in any scripting language that auto-closes after timeout.

        Consider, that any UI invoked by test code will stop test execution until UI is dismissed of. Which meand that test code that dispalys UI cannot be executed unattended.

        While I think that I can suggest one possible solution, I would recommend to re-consider your test architecture and do not use UI elements in test code.