Hi Experts, need help on this foll. business scenario
For e.g., my business reqmt. goes something like this →
Create an employee in the application by entering all the details like firstname, lastname, DOB, DOJ, Benefit plans, etc.
Then finally click on Create
Then an email is triggered to the HR [the person involved in recruitment]
The email contains an url
HR [i.e., the person who receives it] has to click on the link → it redirects to the application
HR verifies the employee details entered in step#1
And finally HR can approve or reject
The process gets completed when HR approves or rejects it
Now, Im able to automate steps#1 and #2 using Katalon, and unable to proceed from step#3
My question is → how do I access the url/link from the email that is triggered, using Katalon ?
Pls. note → email application can be gmail / outlook
Connect to the relevant email account (Gmail or Outlook), fetch the latest message, extract the required link, and then launch it for subsequent UI automation.
Use Katalon’s Built-In and Custom Keywords for Email Access
Gmail: You can use Katalon’s custom keywords along with JavaMail or Gmail API to connect and read the most recent email.
Outlook: Use JavaMail or Outlook-specific libraries to fetch messages from your inbox.
If the business case involves Gmail, enabling API access and creating a service account can make it easier to programmatically read messages. Outlook has a similar option via Microsoft Graph API. Both methods ensure the link can be accessed consistently during automation.