What's a Wildcard in selectors?

0 votes
I want to know what does a wildcard mean in selectors and where they are used? And how can I use one in selectors?
Mar 4 in RPA by Akanksha
225 views

1 answer to this question.

0 votes

Hi @Akansha, wildcards are basically Symbols which are used with Selectors that changes dynamically. Mainly there are 2 wildcards:

1. Asterisk (*): It is used for replacing 1 or more characters from a selector attribute. For Eg. <title="abc-zyx"></title> is an attribute which changes dynamically, every time you open a specific webpage. So if you want your selector to identify the webpage by <title> tag then replace the <title> this way: <title="*"></title>. Now even if the title of a webpage changes every time it gets refreshed, your Selector would identify which element to select. 

2. Question Mark (?): It is used to replace a single character from the selector attribute. For eg. If a webpage opens pages with a counter at the end of title like  <title="abc-1"></title> or <title="abc-2"></title>, then in that case you can replace the title value this way: <title="abc-?"></title>. 

These are really useful in web scrapping where selectors might need to modify the attributes to identify dynamically changing values. 

answered Mar 4 by Anvi
• 12,860 points

Related Questions In RPA

0 votes
2 answers

change a specific column of an excel sheet in UiPath

1. First of all , you need ...READ MORE

answered May 16 in RPA by Venkat
• 320 points
2,631 views
0 votes
1 answer

Clear a text box in uipath?

Use the activity Type Into and in the properties ...READ MORE

answered May 13, 2018 in RPA by wrecker
• 3,110 points
809 views
0 votes
1 answer

How to select an item in UiPath that starts with a string

use a wildcard in selector. make sure that ...READ MORE

answered May 21, 2018 in RPA by wrecker
• 3,110 points
1,265 views
0 votes
1 answer

How to assign a data in a variable in to excel file?

System -> File -> Workbook -> Append ...READ MORE

answered May 22, 2018 in RPA by wrecker
• 3,110 points
86 views
0 votes
1 answer

UiPath - Citirx Automation

best way to do that is to ...READ MORE

answered Apr 13, 2018 in RPA by wrecker
• 3,110 points
208 views
0 votes
1 answer

UiPath - Web Scraping

Multiple solutions are listed below: Check your Selector Use ...READ MORE

answered Apr 13, 2018 in RPA by wrecker
• 3,110 points
214 views
0 votes
1 answer

Robot Manager in UiPath

the robot.exe file is located in: C:\Users\USER_ACCOUNT\AppData\Local\UiPath\app-17.1.6523\Ui-Robot.exe Hope it ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
397 views
0 votes
1 answer

Automation in Uipath

you can use the Database package for connecting  ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
321 views
0 votes
1 answer

What's the difference between full and partial selectors in UiPath studio?

Hey @Umang, the major differences between Full ...READ MORE

answered Mar 27 in RPA by Anvi
• 12,860 points
1,660 views
0 votes
1 answer

What is a learning instance in Automation Anywhere?

Hi @Abhishek, A Learning Instance consists of training ...READ MORE

answered Mar 7 in RPA by Anvi
• 12,860 points
154 views