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 answers

0
Somesh Ghosh 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
Shubham Freelancer On

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