I am storing the purchase order with supplier name and line items associated with him in an Excel file. Reading those records from there to insert it in the Oracle Purchase form.
Format of table as below:
Supplier
Item
Description
Quantity
Price
Supplier 1
6100100232
item1
5
2
6100121232
item2
10
2
440400112
item3
3
4
Supplier 2
440400112
item3
10
1
6100121232
item2
20
1
I can enter two lines of records for first supplier . However then it returns error as
Escape Item: Could not find the UI element corresponding to this selector:
java name=‘Purchase Orders - [New]’ role=‘internal frame’
java name=‘ItemList of Values’ role=‘text’ virtualname=‘VTextField108’
Search failed at selector tag:
java name=‘ItemList of Values’ role=‘text’ virtualname=‘VTextField108’
The closest matches found are:
97% - java name=‘ItemList of Values’ role=‘text’ virtualname=‘VTextField107’
94% - java name=‘SiteList of Values’ role=‘text’ virtualname=‘VTextField16’
93%- java name=‘Ship-ToList of Values’ role=‘text’ virtualname=‘VTextField18’
91%- java name=‘PromisedList of Values’ role=‘text’ virtualname=‘VTextField180’
90% - java name=‘Lines tab page ItemList of Values’ role=‘text’ virtualname=‘VTextField108’
90% - java name=‘RevList of Values’ role=‘text’ virtualname=‘VTextField116’
90% - java name=‘Bill-ToList of Values’ role=‘text’ virtualname=‘VTextField19’
Ignore / remove the virtualname component in your selector, and instead add table row (don’t remember the exact notation from my old EBS days).
The virtualname properties are dynamic, you should not trust them.
I’ve build a similar bot for a client a while back (can’t access and/or share that code, sorry), and that was my solution of navigating through this grid.
Important: the table row property is static in Ebs. Meaning that this grid shows like 10 lines in the grid. As soon as you’d need a 11th line you need to scroll down (using keypress down) from line 10 to 11. The table row is then still the 10th, since the grid is static regardless of scroll depth.
@Jeroen_van_Loon yes, I understood that virtualname is not static but dynamic however I am still looking for static property. It would be great if you just share the id you have used for selector if possible.
Below are the selectors in order to type in Item