Level 2 certification hands on facing some issues on "Keyword name cannot be empty"

Hi Guys,
I have attached the code attachments and the error that I am seeing. Inside the loop I have added many keywords, however it is showing empty help.

Below are the code of robot file i have used:{please copy and paste it and run a test it shows the error i have mentioned above}

*** Settings ***
Documentation Orders robots from RobotSpareBin Industries Inc.
… Saves the order HTML receipt as a PDF file.
… Saves the screenshot of the ordered robot.
… Embeds the screenshot of the robot to the PDF receipt.
… Creates ZIP archive of the receipts and the images.
Library RPA.Browser.Selenium auto_close=${FALSE}
Library RPA.Excel.Files
Library RPA.HTTP
Library RPA.Tables
Library RPA.PDF
Library RPA.Archive
Library RPA.FileSystem
Library RPA.Tasks

*** Tasks ***
Open the robot order website
Download the orders file, read it as a table, and return the result
Create a ZIP file of the receipts
Close the Browser

*** Keywords ***
Open the robot order website
Open Available Browser RobotSpareBin Industries Inc. - Intranet

Download the orders file, read it as a table, and return the result
Download https://robotsparebinindustries.com/orders.csv overwrite=True
${TABLES}= Read table from CSV orders.csv dialect=excel
Close Workbook
FOR ${TABLE_TEST} IN @{TABLES}
… Fill the form
… Preview the robot
… Take a screenshot of the robot image
… Submit the order
… Store the order receipt as a PDF file
… Embed the robot screenshot to the receipt PDF file
… Go to order another robot
${TABLE_TEST}
END

Fill the form
[Arguments] ${TABLE_TEST}
Select From List By Index id:head ${TABLE_TEST}[Head]
Wait And Click Button id:id-body-${TABLE_TEST}[Body]
Input Text class:form-control ${TABLE_TEST}[Legs]
Input Text id:address ${TABLE_TEST}[Address]

Preview the robot
Wait And Click Button id:preview
Wait Until Element Is Visible id:robot-preview-image

Submit the order
Wait Until Keyword Succeeds 3x 0.5 sec Submit the order
Wait And Click Button id:order

Store the order receipt as a PDF file
${recipt_element}= Get Element Attribute id:receipt outerHTML
Html To Pdf ${recipt_element} ${OUTPUT_DIR}${/}${TABLE_TEST}[Order number].pdf overwrite=True
Take a screenshot of the robot image
${screenshot}= Screenshot id:robot-preview-image ${OUTPUT_DIR}${/}${TABLE_TEST}[Order number].png

Embed the robot screenshot to the receipt PDF file
Open Pdf ${OUTPUT_DIR}${/}${TABLE_TEST}[Order number].pdf
Add Watermark Image To Pdf ${OUTPUT_DIR}${/}${TABLE_TEST}[Order number].png ${OUTPUT_DIR}/PDFs${/}${TABLE_TEST}[Order number].pdf

Go to order another robot
Wait And Click Button id:order-another
Wait Until Keyword Succeeds 3x 0.5 sec Go to order another robot

Create a ZIP file of the receipts
${zip_file_name}= Set Variable ${OUTPUT_DIR}/PDFs
Archive Folder With Zip ${zip_file_name} PDFs.zip

Close Browser
Close Browser

Hi, @praveen.senguttuvan! Can you repaste your code using code formatting (you can use the Preformatted text option)? That would preserve all the spaces, etc.

Hi jani,
Thank you for your response, I think I have a solution for the above query, but I am experiencing a webpage error, can you please tell me how I can resolve this?

Here are some tips for dealing with those random errors.

  • Implement a keyword that does the submit. Verify that the submission is successful, for example, by checking for an element that should appear after a successful attempt. This way the keyword fails if the submission is not successful, and succeeds if there are no errors (and the element you expect appears).

  • Call your submit keyword through a keyword that can retry until the call is successful. You can control how many times to retry, how long to wait between each retry, etc.

Hi Jani,

could you please give some samples it will be more helpful

Hi jani,
I have attended the level 2 quiz more than 3 times but still not able to clear it, Please help on this

Hi, @praveen.senguttuvan! You scored two points on your last attempt. You need 18 to pass. Spend more time studying and learning before attempting to answer the quiz and you will do better! :slight_smile:

Hi,@jani,
i have tried test lots of time still not able to pass the test could you please give any suggestions.