1

I am getting below error while running the script, please help me to solve the issue -

ERROR ] [ DataDriver ] Error in robot file: File "C:'filepath'.robot", line 0 [ ERROR ] In source file: File "C:'filepath'../TestData/Data.csv", line 0 [ ERROR ] Calling method '_start_suite' of listener 'DataDriver' failed: AttributeError: No "Test Template" keyword found for first test case.

Dev
  • 2,739
  • 2
  • 21
  • 34
Tina
  • 51
  • 7

1 Answers1

0

The below format fixed the issue with the testdata ----------

*** Settings ***
Library    DataDriver    ../TestData/data.csv
Test Template   Login scenarios

*** Test Cases ***  
Login to appl  username    password
    
*** Keywords ***

Login scenarios
        [Arguments]   ${username}  ${password}
        pageLogin.Login   ${username}  ${password}
        
pankaj mishra
  • 2,555
  • 2
  • 17
  • 31
Tina
  • 51
  • 7
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jan 31 '22 at 20:57