0

I am trying to include_init_.robot file in the test suite. I have added a test implementation to check the method it would work, however I am unable to figure out it's execution. Code is as follows:

init.robot

*** Settings ***
Documentation    Suite description
Suite Setup      Initialization In Progress

*** Keywords ***
Initialization In Progress
    log many  THE CODE WORKS NOW

test#1.robot

*** Settings ***
Documentation    Suite description

*** Test Cases ***
Test Case Execution
    log many  TC EXECUTED

Code used to run the test: pybot folder_name

Ameet Pradhan
  • 23
  • 1
  • 3
  • 10

1 Answers1

1

The name of the first file is incorrect. You have

_init_.robot

while it should be

__init__.robot

When you do that the log will show this:

enter image description here

A. Kootstra
  • 6,827
  • 3
  • 20
  • 43