lundi 6 juillet 2020

The step defination in python behave isnt showing after running the feature file in the terminal

I could not get the step defination even everthing is correct. The structure if creating the file is also correct. According to the youtube videos and documentatoin the feature file is created and when the file runs the step defination is created on the terminal but i cannot get the step defination on the terminal and even after creating the step defination its not executing.

Feature: Orange hrm logo
  Scenario: logo presence on hrm home page
    Given:launch a web browser
    When: open hrm home page
    Then: verify the presence of logo in the hrm homepage
    And: close the browser


(venv) C:\Users\B25 PraNish\PycharmProjects\behaveProjects>behave
Feature: Orange hrm logo # features/hrm.feature:1

  Scenario: logo presence on hrm home page  # features/hrm.feature:2

1 feature passed, 0 failed, 0 skipped
1 scenario passed, 0 failed, 0 skipped
0 steps passed, 0 failed, 0 skipped, 0 undefined
Took 0m0.000s
(No test steps)

Aucun commentaire:

Enregistrer un commentaire