Tuto WINDEV 25

282 Part 4: Full application with data 11.  The test editor displays the WLanguage code of the test that was just saved: The test is available and it is not passed ( icon in front of the test name in the editor). 12.  The test can be run at any time: • Select the test name in the test editor. • In the popup menu (right mouse click), select "Run". 13.  The test is automatically run and the test editor displays the result in the "Test result" pane (the test was successfully run in our case). 14. Save the test if necessary. Remark The WLanguage functions used to run automatic tests are the EmulateXXX functions. ▶ We are now going to perform a modification in our window and to run the test again. The modification affects the "Find" Button control. We are going to gray it. 1. Display the "WIN_Menu" window if necessary. 2.  In the editor, click the "Finding orders" tab pane and select the "Find" Button control. 3. Display the control description ("Description" from the popup menu). 4.  In the "UI" tab, select "Grayed". 5. Validate the control description window. 6. Save the window. 7. Go back to the test editor (click the corresponding button in the open documents bar). 8. Run the test again.

RkJQdWJsaXNoZXIy NDQ0OA==