Forum Discussion
Jagruuti :
Could you please let me know how that token is getting generating you are hitting any other API for the same or what method you are using.
Hi HimanshuTayal ,
I'm using OAuth 2.0 for generating the Access token.
You can get an idea by having a look at the attached screenshot.
I'm clicking on the Get Access Token button to generate it.
Thanks in advance
Jagruuti
- HimanshuTayal5 years agoCommunity Hero
Hi HimanshuTayal ,
I'm referring this link-https://support.smartbear.com/readyapi/docs/requests/auth/types/oauth2/automate/sample.html
For the login page:
I tried using the below code:
//// This script checks what page is displayed and provides the appropriate data. It uses the project-level "user" and "pass" properties.
if (document.getElementById('username') && document.getElementById('Login')) {
document.getElementById('username').value = "jagruti.wani@********dev";
document.getElementById('password').value = "********";
document.getElementById('Login').click();
}When I try to run the script, it works and the application gets open, but it does not fill the user and password information on the application's page.
Just the login page gets open as shown in the attached screenshot.
It does not fill the password. But when I close the page, I get 'All scripts executed successfully' pop-up as shown in the attached screenshot.
Thank you in advance,
Jagruuti Wani
- Cool. Let me try that, and thanks.
Ian Keith Sebright
NIH Web Services
Business Application Services, CIT/NIH/DHHS
6555 Rock Spring Drive, Room 3A20, Bethesda, MD 20817
Office: 301.594.2673
Cell: 240.205.5958
Fax: 301.496.9046
Email: sebright@mail.nih.gov
URL: https://nihsoa.nih.gov/