How to extract value in webctrl src?

Hi all,

I have been trying for a few days to extract the value in webctrl src using GetAttribute but I am not able to do so.

“html app=‘msedge.exe’ htmlwindowname=‘Composite*’ title=‘Manager Portal’ />
webctrl src=’/prweb/_v-CTgKEaFsyEoJE41I4-Q%5B%5B*/!TABTHREAD3?pyActivity=%40b*’ tag=‘IFRAME’ />”

The reason I needed this is because TABTHREAD3 is a dynamic value. Thus, I will like to extract this value and use it as part of the selector in downstream’s activities.

Edited away some brackets to display the html

Hi @Jarl
what error u are getting while getting the attribute value actually?

or can u try with this selector
“html app=‘msedge.exe’ htmlwindowname=‘Composite*’ title=‘Manager Portal’ />
webctrl src=’*’ tag=‘IFRAME’ />”

Regards,

Nived N
Happy Automation

Hi Nived,

When I tried your selector, the “Validate” button becomes red.

My system seems to create multiple tab threads. There is tabthread3 which was shown in my first post but there are tabthread0, tabthread1, tabthread2, etc.

I tried to use GetAttribute using aaname, subsystem, id, etc but I was not able to get any value that resembles “/prweb/_v-CTgKEaFsyEoJE41I4-Q%5B%5B*/!TABTHREAD”