rrvdw
(Robert )
January 30, 2018, 11:49am
1
Dear UiPath forum members,
For SAP automation I need to use the ‘click text’ activity. However, I need to use wildcard for this because not everything is known.
The format is:
2500-??-?2???-???-???
Only the first four digits (2500) and the string with the 2 (can either be 1??? or ??3??? or 1?3??? etc.) are known and vary every process.
How can I use wildcards in a click text activity?
Sincerley,
Robert
heynow
January 30, 2018, 12:36pm
2
I would try to read text from the screen (for example Get Full Text activity or sometimes you can save entire screen in SAP to text file - save local file), then use Regex to find your exact text that needs to be clicked. When you have entire text you can use click text activity.
1 Like
rrvdw
(Robert )
January 30, 2018, 1:06pm
3
Good idea, can you please help me with the Regex?
heynow
January 30, 2018, 1:23pm
4
arivu96
(Arivazhagan A)
January 30, 2018, 1:28pm
5
rrvdw:
2500-??-?2???-???-???
For example 2500-11-12111-111-111
this is the format you need to validate???
Regex format \b\d{4}\b-\b\d{2}\b-\b\d{5}\b-\b\d{3}\b-\b\d{3}\b
Regards,
Arivu