How to validate the span tag length.

Class library usage, coding and language questions.
mukh
Posts: 7
Joined: Tue Aug 23, 2022 9:38 am

How to validate the span tag length.

Post by mukh » Wed Aug 24, 2022 4:50 pm

Hello,
As seen in the attachment. I have span tag <number of locations> and its length is 9. I want to validate that number of locations are 9.
Kindly help with this how can i do in Ranorex :D ?
You do not have the required permissions to view the files attached to this post.

csaszi89
Posts: 41
Joined: Mon Jan 17, 2022 12:10 pm

Re: How to validate the span tag length.

Post by csaszi89 » Tue Aug 30, 2022 10:57 am

Hi,

I assume span tag has an attribute called "InnerText" and it contains the value you need to validate.
So, you can create a recording module with Validate AttributeEqual action.

Best regards,
Gyuri