Skip to content

How to execute your own test cases #247

@Chongkai-PythonCrawler

Description

@Chongkai-PythonCrawler

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions