cancel
Showing results for 
Search instead for 
Did you mean: 

Application Modeller - Browser mode - SPAN

LukasVeverka
Level 2

Hi guys,

we use a target web application in customer services, in which IT provided me with a custom development for better readability for RPA. 

I have problems with this element because it is a SPAN

<span data-rpa="subject">MBZ test</span>

and I don't know how to set it up in AppModeller (Browser mode)

36040.png
1 BEST ANSWER

Helpful Answers

John__Carter
Staff
Staff

Hi Lukas if when you spy the element you can't see the 'data-rpa' attribute, you may need to use an Xpath expression. If you're not familiar with Xpath, you can think of it as a special syntax that allows you to put all your element attributes in one line. Try pasting this in the Path attribute and then untick all other attributes.

//span[@data-spa='subject']

There is plenty of Xpath training online and the BP University has a course you can try too.

View answer in original post

1 REPLY 1

John__Carter
Staff
Staff

Hi Lukas if when you spy the element you can't see the 'data-rpa' attribute, you may need to use an Xpath expression. If you're not familiar with Xpath, you can think of it as a special syntax that allows you to put all your element attributes in one line. Try pasting this in the Path attribute and then untick all other attributes.

//span[@data-spa='subject']

There is plenty of Xpath training online and the BP University has a course you can try too.