How to verify a link text value in tosca which doesn't have an innertext

2.7k Views Asked by At

How can I verify the text "download quote" of the link Download Quote in tricentis vehicle insurance application.

[enter image description here][1] [1]: https://i.stack.imgur.com/RerWR.png

Innertext is not present for this particular link.Please help to find a solution.

2

There are 2 best solutions below

0
On

You can try to check with the DefaultName Property if it contains the required text Or may be you can search the same in its Parent control. I hope you get them ;)

0
On

Try to create the Xpath for the same and get the content value after it