0

I am new to Python and Robot framework and want to read particular cell data for automation. I have used `Library ExcelLibrary and used a command

 Read Cell Data By Coordinates    {Path to excel file}/test.xlsx    1    1 

but error message appears i.e.

FAIL : AttributeError: 'NoneType' object has no attribute 'index'

Using this in ride robot framework. Please let me know if any other information required.

2
  • Can you post your Python and RF source code? Other tracecalls could be useful also. Commented Mar 8, 2018 at 11:37
  • It's seem your Keyword use not correctly . Please check instruction keyword ExcelLibrary navinet.github.io/robotframework-excellibrary/… Commented Mar 15, 2018 at 4:34

1 Answer 1

1

Anyway you can use below code if you want to read data from your xls file .

${data}    Read Cell Data By Name    Sheet1    A1

OR

${data}  Read Cell Data By Coordinates   Sheet1    1   1

Uses the column and row to return the data from that cell.

Arguments:

Sheet Name (string) The selected sheet that the cell value will be returned from. Column (int) The column integer value that the cell value will be returned from. Row (int) The row integer value that the cell value will be returned from.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.