Hi,
I want to find a date link that will be the current date.
Can something like this be done? If so, what's the correct syntax?
//a[@innertext=current-date()]
Thanks,
Lorinda
Use XPath function in selector?
Re: Use XPath function in selector?
Hi,
There is no xpath function for actual date. You will have to use a repo variable and custom code, which will file the variable with actual date. Check these posts...
https://www.ranorex.com/forum/how-to-se ... tml#p55001
https://www.ranorex.com/forum/how-to-fi ... tml#p34128
There is no xpath function for actual date. You will have to use a repo variable and custom code, which will file the variable with actual date. Check these posts...
https://www.ranorex.com/forum/how-to-se ... tml#p55001
https://www.ranorex.com/forum/how-to-fi ... tml#p34128
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Use XPath function in selector?
Thanks, Pavel.