Previously I have sent the part of my code. And also I have already install the Robotframework-DatabaseLibrary.
*** Settings ***
Common Resources
Resource /users/TestAutomation/Variables/variable.robot
Test case dependencies
Library DataDriver file=/users/TestAutomation/FA.xlsx encoding=UTF-8
Test Setup Begin Test
Test Template Fill the form
Test Teardown Close Browser
*** Test Cases ***
TC_01_Data_driven_testing_using_excel
Fill the form
*** Keywords ***
Begin Test
Open Browser ${BASE_URL} gc
maximize browser window
Fill the form
[Arguments] ${Email_Address} ${Password} ${Element}
input text ${LOCATOR_Email_Address} ${Email_Address}
input text ${LOCATOR_Password} ${Password}
## Press the login button
Click element xpath://html/body/app-root/div/div/app-auth/app-auth-sign-in/mat-
card/div/div/div/form/div/form/button
Sleep 30s
## Click the continue button
sleep 10s
click element ${LOCATOR_Continue} ${Element}
sleep 10s
EXECUTE JAVASCRIPT window.scrollTo(200,400)
sleep 10s
## Enter the value
input text ${LOCATOR_AMOUNT} 5000
sleep 2s
## Click request Button
click element xpath=//button[contains(.,'Request')]
sleep 5s
This is what I have do so far. But, it’s still not working.
Can I click the XPath by using this → " click element ${LOCATOR_Continue} ${Element}" ?