Forum Discussion
radov
13 years agoStaff
Hi Leanne,
If you have a test recorded over a certain application, you can manually run your application, perform some preliminary user actions over it (if needed) and then execute the test that will work with the application's window(s). However, TestComplete makes the testing process easier by providing the Tested Applications collection. This project item allows your test to launch the application(s) to be tested automatically.
If your test was recorded as script code, you can execute the needed routine by placing the cursor somewhere within the routine's code and clicking the Run Current Routine button on the Code Editor toolbar or by right-clicking the needed script unit in the Project Explorer panel and selecting the needed routine name from the Run submenu of the context menu. Note that TestComplete executes the whole routine. Unfortunately, there is no way to execute only certain script statements selected in a routine's body (not the whole script routine).
If you use a keyword test, you can run the whole test (simply open it in the Keyword Test editor and click the Run Test button on the editor toolbar), as well as an individual keyword test operation in the test (right-click it in the editor and select Run Selected Operation from the context menu). Also, you can right-click a certain keyword test operation in the editor and select Run from Selected Operation from the context menu to execute a group of operations from the selected one to the end of the test. For more details, please see Running Keyword Tests.
You can find more information on running TestComplete tests in the Running Tests help section.
If you have a test recorded over a certain application, you can manually run your application, perform some preliminary user actions over it (if needed) and then execute the test that will work with the application's window(s). However, TestComplete makes the testing process easier by providing the Tested Applications collection. This project item allows your test to launch the application(s) to be tested automatically.
If your test was recorded as script code, you can execute the needed routine by placing the cursor somewhere within the routine's code and clicking the Run Current Routine button on the Code Editor toolbar or by right-clicking the needed script unit in the Project Explorer panel and selecting the needed routine name from the Run submenu of the context menu. Note that TestComplete executes the whole routine. Unfortunately, there is no way to execute only certain script statements selected in a routine's body (not the whole script routine).
If you use a keyword test, you can run the whole test (simply open it in the Keyword Test editor and click the Run Test button on the editor toolbar), as well as an individual keyword test operation in the test (right-click it in the editor and select Run Selected Operation from the context menu). Also, you can right-click a certain keyword test operation in the editor and select Run from Selected Operation from the context menu to execute a group of operations from the selected one to the end of the test. For more details, please see Running Keyword Tests.
You can find more information on running TestComplete tests in the Running Tests help section.
Related Content
- 6 years agoLonewolfQA
- 3 years agoMoUddin
- 4 years agoeitak