Louay,
As far as I understand, you want to pause the test run until the "Next" button becomes enabled and you are using a timer for this, right? In this case, there is no need to use timers. I'd suggest using the WaitProperty method. You can call it from your keyword tests in the following manner:
* Launch your tested application and display the tested wizard.
* Open your keyword test for editing.
* Drag the Call Object Method operation from the operations list on the left of the keyword test editor (the operation is in the "Test Actions" category) and drop it to the appropriate place in your test. TestComplete will invoke the wizard, in which you can specify the operation's properties.
* On the first page of the wizard, click Select On-screen object. TestComplete will display another dialog, where you can specify the test object (button) whose property you would like to check. After you close that dialog, TestComplete will show the test object name in the Operation Properties wizard (see attached image11. In your case, the object name will be different). Click Next.
* The next page of the wizard will display a list of methods and properties of the selected object (sorted in the alphabetical order). Find the WaitProperty method in the list, select it (click it) and then click Next to continue (see attached image21).
* On the next page, you can specify the method's parameters. The first parameter is the name of the property to be monitored, the second parameter is the property's expected value, and the third parameter is the number of milliseconds to wait. See attached image3. As you can see, the method will command TestComplete to wait for 10 seconds until the button's Enabled property is true. You can change the timeout value, if 10 seconds are not enough.
The WaitProperty method returns true if the specified property gets the expected value within the specified wait time period. Otherwise, the method returns false. The method's result becomes the result of the Call Object Method operation. To check the operation results in your keyword test, insert the If... Then operation right after the Call Object Method operation in your test and use "Last operation result" when setting the If... Then operation's properties. For detailed steps, see Checking Operation Result.
The Call Object Method operation is just one of possible ways to call object methods from keyword tests. You can use other methods, if you like them more. See Calling Object Methods.