Hello Team,
I am doing automation of SAP B1 application , it is a desktop application
I need to choose a dropdown value based on my excel data
I tried select item, click, click text, click image , send hotkeys, type into activites in uipath but no success
select item is giving a error message while indicating on screen ’ this control is not supported by select Item’
please help me that how I can select the dropdown value in SAP B1
Thanks
ppr
(Peter Preuss)
January 25, 2021, 8:13am
2
@gangwar.ritu1
ideally it should work with dropdown if it is SAP
however give a try and analyse if with a find children acitvity the dropdown items can be retrieved.
it is SAP B1 (SAP Business One)
find children activity is not showing the dropdown values
ppr
(Peter Preuss)
January 25, 2021, 11:14am
5
May we ask you to share the details of your find children implementation with us. So we can crosscheck. Thanks
Plese find attachment of my coding
ppr
(Peter Preuss)
January 25, 2021, 11:30am
8
it looks like you haven’t configured the filter. What filter expression / which elements to filter was intendended?
Dropdown screenshots.zip (114.8 KB)
Please see attached screenshots for the exact requirement
could you please elaborate a bit more about “it looks like you haven’t configured the filter. What filter expression / which elements to filter was intendended?”
ppr
(Peter Preuss)
January 25, 2021, 12:44pm
11
@gangwar.ritu1
When we do work with SAP (local machine, not virtualized) we ensure following:
ther are several steps to check if it is sucessfully enabled or not. The simples test is
open UiExplorer
indicate to a single elelement
if it is offering a selection to the single element it looks ok. If the entire SAP Window is selected something is not in place as wished.
At least @LevKushnir can give a feedback on the current implemented UiPath Activities, the plans for for the future and specifics of your case.
In case of the SAP elements are accesseable, but for any reasons the drop down values are to retrieve different. Find childen can help.
have a look here on how ot os done for web select boxes:
@Aditya10989
Interacting with find children:
Lets assume you have drop down like this Link to Dropdown
[grafik]
[grafik]
Using find children needs following:
1 configuring the selector to the select element
2 configuring the filter to the options
3 defining an output variable
[grafik]
[grafik]
Selector:
<html app='firefox.exe' title='<option value=""> »' />
<webctrl tag='SELECT' />
the last part poining to the selcet element is the most important portion
Filter:
"<w…
in your case find the selector of e.g. “Raw Material” select item and generalize it for using it as a filter.
LevKushnir
(Lev Kushnir)
January 26, 2021, 3:12pm
12
HI @ppr
Just to let you know
SAP WinGUI and SAP BusinessOne are completely different applications.
Our SAP WinGUI activities are not working in SAP B1.
SAP Scripting interface is not available in SAP B1.
Best regards, Lev
LevKushnir
(Lev Kushnir)
January 26, 2021, 3:13pm
13
HI @gangwar.ritu1
I would suggest to use Computer Vision Activities in this case. This can be helpful for such scenarios.
Best regards, Lev
ppr
(Peter Preuss)
January 26, 2021, 3:20pm
14
@LevKushnir
Perfect. This statement I was expecting from official side. Thank You
So now it can be checked if CV would be an option (Working Result, Licences, Laws for Data Executions)
otherwise other options are to check like Application Accessibilty etc. In your case is the entry “Raw Material” selectable within UiExplorer?
LevKushnir
(Lev Kushnir)
January 26, 2021, 3:24pm
16
Perfect. This statement I was expecting from offcial side. Thank You
“Official side” sounds very official
CV, Application Accessibilty, etc → Yes, your ideas are the right one!
Is there any sample Project , could you please share
getting error please share one sample code for same
what is API Key in CV Screen scope and from where I can access it
LevKushnir
(Lev Kushnir)
January 27, 2021, 8:13am
21