Table of Contents |
---|
- Its separate complex flow
- Create new page "Login New Factor"
- Create new page "Verifying OTP"
- Create new page "Request New Factor page"
- Add input field "factor" + button "next"
- Add button "Resend new OTP"
- Create new page "Approve New Factor page"
- Add input field "otp" + button "Verify OTP"
Specifications
Page 1 - "Login New Factor page"
...
Logic on page
- On click button "Next" & "Edit_OTP" not empty
- Call WS Create Token with parameters = AUTHORIZE_OTP
- Get response, read attribute `response.urgent.next_step` and switching logic:
- REQUEST_APPS :
- Extract & save token from response
- Go to next page "Approvals"
- REQUEST_APPS :
- if WS return error - view message & break process
- On click button "Resend_new_OTP" not empty
- Call WS Create Token with parameters = RESEND_OTP
- Extract & save token from response
- Clear "Edit_OTP" field
- if WS return error - view message & break process
- Call WS Create Token with parameters = RESEND_OTP
...