mcdcorp / opentest

Open source test automation tool for web applications, mobile apps and APIs
https://getopentest.org
MIT License
453 stars 109 forks source link

The web-authentication passed using URL is not working for iOS-Safari using Opentest(Google Chrome on emulator working for same) ? #498

Closed IamRajB closed 2 years ago

IamRajB commented 3 years ago

I am passing the username & password from URL only for web-authentication. E.g. https://admin:admin@the-internet.herokuapp.com/basic_auth/

OpenTest version number: 1.2.4

The problem is occurring on iOS Safari test when passed in above mentioned format. In-spite of passing it in URL too the pop-up remains opened & tests gets stuck there. Steps to reproduce: 1. open any website that requires web-authentication(given above in E.g.) 2. pass the same url in iOS-Safari 3. Pop Up remains opened even if passing username & password in URL Is there any keyword in Opentest to tackle this situation ? Please guide how to overcome this problem. Relevant log information: ``` (paste log contents here) ```
adrianth commented 3 years ago

Sounds like Safari is not passing the credentials from the URL into the Authorization header, probably for security reasons. See this: https://developers.perfectomobile.com/display/TT/Troubleshooting+%28General%29+-+Basic+Authentication+on+Safari

IamRajB commented 3 years ago

Okay @adrianth .

Will any way via creating new Keyword in Opentest would work ? What's your view ?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.