Selector Issue while Automating Invoice Creation process Ariba Portal

Hi Team,

we’re facing selector issues while automating Invoice Creation Process in Ariba portal through UI Automation:

  1. There are ‘Tax Amount’ Field in the portal, while creating an Invoice for PO, there can be Single Tax Field or Multiple such as StateTaxField and SalesTaxField, for most of the customers the there will be single tax field available but for some customers we can expect more than 2…

For the Multiple case scenario, we are unable to Identify the Selectors for multiple fields, attached the screenshots below for your reference:

UI Screenshot:

Selectors screenshot:

First Tax Field Selectors:

Second Tax Field Selectors:

In the above Screenshot I’ve tried to display all the possible selectors on screen and the anchor I’ve used is Tax Amount field.

Kindly let me know if you’ve any solution to configure if there are multiple tax fields on screen.

you can also suggest me if you’ve developed any RPA process on Ariba portal using API’s.

Thanks in Advance

Regards,
AD_IFM

@AD_IFM

try this

<html.....>
<webctrl tag='INPUT' rowName=' *Tax Amount: *' matching:rowName='regex'  idx='1' />

chnage idx to 2 to get the second tax amount field

Hope this helps

cheers

@AD_IFM

I see row number is changing when you select second tax fields, if you dont find any reliable selectors , try using row number, I am hoping it is going to be static unless, if you get new fields or additional fields

I also suggest keep these selectors in config file

Ideally if you see the same fields all the time , row number doesn’t change