vivekmit
5 months agoOccasional Contributor
How to get a user input during a keyword test
I have a requirement where in the middle of a keyword test, i need to get a user entry with simple options (yes or no).
Depending upon the user entry, i can use an if statement to run the tests accordingly.
How can this be done using Keyword Tests inside TestComplete?
The UI for the user entry can be very simple and just have yes or no option.
Kindly guide me..
You need to write Script and drag/drop it in your KeywordTests.
You can implement the BuiltIn.MessageDlg Method | TestComplete Documentation and store the result in variable https://support.smartbear.com/testcomplete/docs/reference/program-objects/variables/addvariable.html to use in your if statement.