No keyword with name 'create session' found

170 views
Skip to first unread message

Prakash Samal

unread,
Sep 14, 2021, 1:05:19 PM9/14/21
to robotframework-users
Hey,

Code:
*** Settings ***
Library RequestsLibrary
*** Variables ***
${Base_URL} http://thetestingworldapi.com/

*** Test Cases ***
Test Case Running:
create session Get_Student_Details ${Base_URL}
${response} = get request Get_Student_Details api/studentsDetails
log to console ${response}

Note:
I am getting the "No keyword with name 'create session' found" error in the terminal. Please let me know what should I? I have installed all the lib for this code but still not working.

Thanks
Prakash

Bryan Oakley

unread,
Sep 14, 2021, 2:28:08 PM9/14/21
to prakash...@gmail.com, robotframework-users
Is this your actual code? In the code in your question you only have a single space after "create session", but you need two or more.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/6f0f0a22-2c56-42a3-a8ce-8e3b59f6e845n%40googlegroups.com.

Dave Amies

unread,
Sep 14, 2021, 8:35:58 PM9/14/21
to robotframework-users
Hi Prakash,

Which version of RequestsLibrary do you have installed?

Dave.
Reply all
Reply to author
Forward
0 new messages