Relative Content

Tag Archive for javascripttypestestcomplete

How would I pass a Test Command into a function in a JavaScript script in Smartbear’s TestComplete?

I am working in TestComplete and have just learned about scripts as a way to make more complex test steps in the TestComplete environment. Because my tests will probably be used in the future, one of my ideas was to make a make a script that could compare the current date with a certain textbox and see whether the two are equal. This would mean that the script always had the current date of the test, rather than a hardcoded value.