From 9a980b1de2717a7cae8db6b187da5170dda3f11e Mon Sep 17 00:00:00 2001 From: rsgokulnath <142378359+rsgokulnath@users.noreply.github.com> Date: Wed, 16 Aug 2023 14:22:29 +0530 Subject: [PATCH] Create gokulnath --- gokulnath | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 gokulnath diff --git a/gokulnath b/gokulnath new file mode 100644 index 0000000..7624e32 --- /dev/null +++ b/gokulnath @@ -0,0 +1,18 @@ +*** Settings *** +Library SeleniumLibrary +Library RequestsLibrary +Library JSONLibrary +Library Collections + +*** Variables *** +${base_url} https://gorest.co.in/ +*** Test Cases *** +Get_users + create session mysession ${base_url} + ${response}= getrequest mysession /public/v2/users + + ${json_obj}= to json ${response.content} + + #Email data validation + ${Email}= get value from json ${json_obj} $.email + Log ${email}