OpenRPA version: 1.4.49
OpenFlow version: 1.4.36
Using app.openiap.io or self hosted openflow: self-hosted
Error message:OpenRPA.JAVA activity returns only first 10 columns from Oracle ERP JAVA application, it’s not detecting other columns in selectors
Screenshot or video:
I have tried to modify the max results from the below method, still it’s not working
private void Open_Selector_Click(object sender, RoutedEventArgs e)
{
string SelectorString = plugin.Selector;
Interfaces.Selector.SelectorWindow selectors;
if (!string.IsNullOrEmpty(SelectorString))
{
var selector = new JavaSelector(SelectorString);
selectors = new Interfaces.Selector.SelectorWindow("Java", selector, null, 20);//modified from 10 to 20 - not working
}
else
{
var selector = new JavaSelector("[{Selector: 'Java'}]");
selectors = new Interfaces.Selector.SelectorWindow("Java", selector, null, 20);//modified from 10 to 20 - not working
}
// selectors.Owner = GenericTools.MainWindow; -- Locks up and never returns ?
if (selectors.ShowDialog() == true)
{
plugin.Selector = selectors.vm.json;
NotifyPropertyChanged("Selector");
}
}
from the screenshot i does not look like you have much more than 10 rows.
if “endless scrolling” is implemented in the java application you need to scroll down, to get more loaded. Get Element will not do that for you-
HI @Allan_Zimmermann , thanks for the prompt response. The issue is with the Columns.
For the fist 10 columns it’s returning all 4 rows. Whereas starting from 11th Column it’s not displaying anything in the selector scroll view,
Well, the scroll bar seem to suggest that all columns are loaded ( and therefor in the ui tree ) but i was hoping maybe there was some “lazy” loading going on, to have an easy solution.
Then I don’t know what the problem is, if you build your own version of openrpa, and update SelectorWindow function to load more than 10
If you mouse over, does it find the elements ( with recorder overlay enabled ? )
It should not affect recording, or finding stuff, the 10 limit was only to avoid “hanging” the selector windows with loading way way way to many objects