当前位置:网站首页>Uipath practice (08) - selector
Uipath practice (08) - selector
2022-07-03 04:38:00 【jie_ ming514】
Uipath Picker in (Selector)
Selector with wildcard
Using wildcards , You can replace zero or more characters in a string . When dealing with dynamically changing properties in the picker , Wildcards are very useful , There are two common wildcards .
- asterisk (*) – Replace zero or more characters
- question mark (?) – Replace single characters
Use as follows :

Selector with variable
Sometimes part of the selector needs to be dynamically determined through variables , How to add variables in the selector .
Can pass { { Variable name }} Insert variables in the form of .

Regular expressions are used in selectors
Suppose we want to create an automated process for a calculator application . But for the purpose of this example , The value of the tag must be 0 To 2 Adjust between . If you do not use regular expression search , You need to build two selectors , Each picker corresponds to Each value of the tag , As shown below
name The label contains numbers 0
<wnd app='applicationframehost.exe' appid='Microsoft.WindowsCalculator_8wekyb3d8bbwe!App' title='Calculator' />
<uia cls='LandmarkTarget' />
<uia automationid='CalculatorResults' name='Display is 0' role='text' />
name The label contains numbers 2
< wnd app='applicationframehost.exe' appid='Microsoft.WindowsCalculator_8wekyb3d8bbwe!App' title='Calculator' />
<uia cls='LandmarkTarget' />
<uia automationid='CalculatorResults' name='Display is 2' role='text' />
<wnd app='applicationframehost.exe' appid='Microsoft.WindowsCalculator_8wekyb3d8bbwe!App' title='Calculator' />
<uia cls='LandmarkTarget' />
<uia automationid='CalculatorResults' name='Display is \d' role='text' matching:name='regex' />
matching:name=‘regex’ Property instructs the picker to recognize using regular expressions label , and <name=‘Display is \d’> The command will return the recognized All values of the label .
边栏推荐
- Integration of Android high-frequency interview questions (including reference answers)
- Web - Information Collection
- 220214c language learning diary
- [literature reading] sparse in deep learning: practicing and growth for effective information and training in NN
- Preliminary cognition of C language pointer
- AWS VPC
- Leetcode simple problem delete an element to strictly increment the array
- 2022 registration examination for safety production management personnel of hazardous chemical production units and examination skills for safety production management personnel of hazardous chemical
- After reviewing MySQL for a month, I was stunned when the interviewer of Alibaba asked me
- Function introduction of member points mall system
猜你喜欢

Two drawing interfaces - 1 Matlab style interface
![[literature reading] sparse in deep learning: practicing and growth for effective information and training in NN](/img/7e/50fa6f65b5a4f0bb60909f57daff56.png)
[literature reading] sparse in deep learning: practicing and growth for effective information and training in NN

arthas watch 抓取入参的某个字段/属性

《牛客刷verilog》Part II Verilog进阶挑战

The programmer went to bed at 12 o'clock in the middle of the night, and the leader angrily scolded: go to bed so early, you are very good at keeping fit

Leetcode simple question: the key with the longest key duration

Introduction of pointer variables in function parameters

Jincang KFS data bidirectional synchronization scenario deployment

7. Integrated learning

【工具跑SQL盲注】
随机推荐
Wine travel Jianghu War: Ctrip is strong, meituan is strong, and Tiktok is fighting
2022-02-13 (347. Top k high frequency elements)
I stepped on a foundation pit today
Human resource management system based on JSP
Dive into deep learning - 2.1 data operation & Exercise
When using the benchmarksql tool to test the concurrency of kingbasees, there are sub threads that are not closed in time after the main process is killed successfully
Writing skills of multi plate rotation strategy -- strategy writing learning materials
220214c language learning diary
使用BENCHMARKSQL工具对KingbaseES预热数据时执行:select sys_prewarm(‘NDX_OORDER_2 ‘)报错
When using the benchmarksql tool to preheat data for kingbasees, execute: select sys_ Prewarm ('ndx_oorder_2 ') error
Basic use of continuous integration server Jenkins
【PHP漏洞-弱类型】基础知识、php弱相等、报错绕过
Mount NFS in kubesphere
[free completion] development of course guidance platform (source code +lunwen)
Employee attendance management system based on SSM
Crazy scientist
UiPath实战(08) - 选取器(Selector)
2022 registration of G2 utility boiler stoker examination and G2 utility boiler stoker reexamination examination
C language self-made Games: Sanzi (tic tac toe chess) intelligent chess supplement
Internationalization and localization, dark mode and dark mode in compose