|The bold words in the Arguments section, such as locator, text and key, are not to be written in Alithya GoTest. They are there to provide information about the name of the arguments displayed in grey in the Alithya GoTest editing grid cells.|
Put the mouse in the search field.
Enter Alithya GoTest.
Input Text(Selenium Library)
Press Key (Selenium Library)
locator://input[@name='q'] (xpath for the input field)
key: \\13 ou ENTER (for enter key)
Check the result page.
Element Should Contain (Selenium Library)
Take a screenshot of the result.
Capture Page Screenshot (Selenium Library)
Add a comment in the logs of the result file: My first search.
Log (Selenium Library)
message: ‘I did my first script!’
8. Create a first test step of the "TearDown" type and add the keywords
Once you have finished writing the script, you can run your script in the scenario by clicking on the Start button.
Go to the execution page to view the status of your script. Thanks to the "status log" functionality, you can follow the evolution of your script during its execution.
Once the script is finished, you can view the logs. The status of the execution can be red if the script or test failed, or green if everything went well.