Hi Experts,
I am automating an application where for every transaction I have to open SAP and fetch some data eg. Emailid from SAP systems.
Issues with SAP :
-
Since there are SAP systems with different versions , In some I am able to get The Direct Selector of Emailid , using getText I get that email - Best scenario for me
-
For some The selector is not available, UI Explorer is not able to identify element , Tried changing the Ui Framework - No Help - Here I am using Image Automation , using Scrape Relative fetching Email. - works Fine till here.
3.Now I have encountered some SAP systems’s - where UIpath selectors are not working , bot moves to look for Image email but fails , because email label is now E-Mail or EMailAddress. So image Fails.
How I handled ?
Try
{
Look for Email selector
}
Catch
{
try
{
Look for Email Image and scrape.
}
catch
{
look for E-Mail Image and Scrape
}
}
This works for me as of now , Not satisfied with the implementation though.
Any better approaches ,Please suggest.