Hi @Gonza1 I hope you are doing well.
Sometimes there are blank spaces at the beginning or end of a value, so instead of OR in addition to the Text to Number action, use the Trim action, this action will help you “Clean” the value, especially if it has blank spaces.
Also, I tested the link you shared, and I was able to extract the time with the “Get Details of Element on Web” action.
Then, I use the split and trim actions to get the values and finally I used the set variable to perform the calculation.
Here is the snipped below and check the attached image.
Text.SplitText.SplitWithDelimiter Text: AttributeValue2 CustomDelimiter: $'''/''' IsRegEx: False Result=> TextList
Text.Trim Text: TextList[1] TrimOption: Text.TrimOption.Both TrimmedText=> TrimmedText
Text.SplitText.SplitWithDelimiter Text: TrimmedText CustomDelimiter: $''':''' IsRegEx: False Result=> TextList2
SET MinutesToSeconds TO TextList2[0] * 60
SET TotalSeconds TO TextList2[1] + MinutesToSeconds
Display.ShowMessageDialog.ShowMessage Title: $'''Hola!''' Message: $'''Total de Segundos: %TotalSeconds%''' Icon: Display.Icon.None Buttons: Display.Buttons.OK DefaultButton: Display.DefaultButton.Button1 IsTopMost: True ButtonPressed=> ButtonPressed
Please let me know if it works, happy automation!,
If I have addressed your inquiry successfully, kindly consider marking my response as the preferred solution. If you found my assistance helpful, a 'Thumbs Up' would be greatly appreciated.
Additionally, I offer specialized consultancy and development services leveraging PAD. If you're interested in exploring these services further, feel free to DM me, and we can initiate a discussion.
Kind regards,
Will SG
Managing Director & Automation Lead
RAMS CR (Recruitment & Automation)
LinkedIn Profile

