I am using the below code to read the Excel file for the parameter.
*** settings ***
Library SeleniumLibrary
Library DataDriver ./Woodruff/Testscripts/Data/Data1.xlsx sheet_name=Sheet1
Test Template EXCELWORK1
*** Variables ***
${searchbox} xpath:/html/body/div[1]/div[3]/form/div[1]/div[1]/div[1]/div/div[2]/textarea
${URLGoogle} www.google.com
*** test cases ***
EXCELWORK1 using ${Stateofincorporation}
*** Keywords ***
EXCELWORK1
[Arguments] ${Stateofincorporation}
Open Browser ${URLGoogle} Chrome
Maximize Browser Window
Wait Until Element Is Visible ${searchbox}
Input Text ${searchbox} ${Stateofincorporation}
Log To Console ${StateofIncorporation}
DATA FILE : Data1.xlsx
|${NamedInsured}|${Stateofincorporation}|
|Alakona Corp.|Michigan|
I am getting the below error while the brower opens and stops immediately. I have also updated my Chromedriver.
==============================================================================
Test
==============================================================================
EXCELWORK1
DevTools listening on ws://127.0.0.1:55621/devtools/browser/5ac5d66f-2288-4baa-9322-1d3a30dbb9fe
EXCELWORK1 | FAIL |
InvalidArgumentException: Message: invalid argument
(Session info: chrome=111.0.5563.65)
Stacktrace:
Backtrace:
(No symbol) [0x008F37D3]
(No symbol) [0x00888B81]
(No symbol) [0x0078B230]
(No symbol) [0x0077D8AB]
(No symbol) [0x0077BEA7]
(No symbol) [0x0077C518]
(No symbol) [0x0078CF4C]
(No symbol) [0x007F1E01]
(No symbol) [0x007DB41C]
(No symbol) [0x007F1215]
------------------------------------------------------------------------------
Test | FAIL |
1 test, 0 passed, 1 failed
==============================================================================
Output: D:\AUTO\output.xml
Log: D:\AUTO\log.html
Report: D:\AUTO\report.html
Unable to get what the error is about.
Can anyone help?