Spy dynamically using blueprism

tiwa5780

New Member
Hi,

Suppose there is an application in which a table is present which contains a field named Employee ID which is a hyperlink field.
And when we click on the Employee ID value, then the employee details are displayed like Name, Phone number, etc.
Now suppose there are N number of Employee IDs and we want the BOT to click on each of the Employee ID to view the employee details.
How will we spy the N numbers of employee IDs using BLUEPRISM?
 

VJR

Well-Known Member
Hi tiwa5780,

You can spy just 1 element (hyperlink) of that table.
Then use the Dynamic Match feature of Blue Prism on the Path attribute.

After spying uncheck the attributes from the Application Modeller that makes the element unique. Meaning - if the text attribute of the hyperlink is ABC, then uncheck it because you are going to have another same hyperlink but with a different text XYZ. So this will become unique for only 1 element and hence needs to be unchecked.

How to use the Dynamic Match on the path after selecting Dynamic in the dropdown in the Application Modeller-

Make a list of the paths of the first few hyperlinks in Notepad one below the other.
For example you have the path of the first hyperlink as-
/HTML/BODY/........./TR(10)/TD(1)

and the second one as
/HTML/BODY/........./TR(10)/TD(2)
.
.
.
/HTML/BODY/........./TR(10)/TD(100)


In the Read stage, click on the button with three dots and pass the parameter with a Counter data item in place of the above bold numbers.
This will read and return the value of the element present on that ?? path

Like the Read stage to read the value you can also use the Navigate stage and then use the click action to click the hyperlink.
 

tiwa5780

New Member
Hi tiwa5780,

You can spy just 1 element (hyperlink) of that table.
Then use the Dynamic Match feature of Blue Prism on the Path attribute.

After spying uncheck the attributes from the Application Modeller that makes the element unique. Meaning - if the text attribute of the hyperlink is ABC, then uncheck it because you are going to have another same hyperlink but with a different text XYZ. So this will become unique for only 1 element and hence needs to be unchecked.

How to use the Dynamic Match on the path after selecting Dynamic in the dropdown in the Application Modeller-

Make a list of the paths of the first few hyperlinks in Notepad one below the other.
For example you have the path of the first hyperlink as-
/HTML/BODY/........./TR(10)/TD(1)

and the second one as
/HTML/BODY/........./TR(10)/TD(2)
.
.
.
/HTML/BODY/........./TR(10)/TD(100)


In the Read stage, click on the button with three dots and pass the parameter with a Counter data item in place of the above bold numbers.
This will read and return the value of the element present on that ?? path

Like the Read stage to read the value you can also use the Navigate stage and then use the click action to click the hyperlink.

Thanks a lot VJR! You are the best.
 
Top