I added "test_suite.yaml" to the "demo_project" directory, and the contents are as follows:
testcases:
-name: "login test"
steps:
- Launch App
- Sleep: 3
-Press Element: "account number input box"
- Enter Text:
Element: "account number input box"
text: "6666666"
-Press Element: "password input box"
- Enter Text:
Element: "password input box"
text: "123123"
-Press Element: "login"
- Sleep: 2
- Assert Presence:
Elements: ["Home", "Welcome back"]
After saving the file, execute the test case and find that the template case is loaded. What should I do?
test_suite.yaml
I added "test_suite.yaml" to the "demo_project" directory, and the contents are as follows:
testcases:
-name: "login test"
steps:
-Press Element: "account number input box"
Element: "account number input box"
text: "6666666"
-Press Element: "password input box"
Element: "password input box"
text: "123123"
-Press Element: "login"
Elements: ["Home", "Welcome back"]
After saving the file, execute the test case and find that the template case is loaded. What should I do?
test_suite.yaml