I'm kinda new to robotframework and trying to setup a simple test scenario where i want to validate a numerical value somewhere in a page (should be between 0-40).
In the following screenshot you can see the value (46) which i need to locate.
The problem i face is that the classname
So I think you've basically solved this yourself, I'm not sure I see a problem beyond maybe syntax. What exactly is the problem when you say you can't translate it into something robotframework understands. To get this to work I would use the following locator:
Does the above work? If not, what is the error reported? It's worth pointing out that using xpaths is far from ideal, they can be brittle and are generally the slowest selector. It would be worthwhile working with your dev team to improve the selectors or doing so yourself if you have dev access and are comfortable making the changes.