I need to validate the text in the webpage. But it failed.
Weird that the report show that the actual text was the same as the expected text.
Attached files are the screen capture of the report, repository item and record module action.
Webpage validate InnerText failed
Webpage validate InnerText failed
You do not have the required permissions to view the files attached to this post.
Re: Webpage validate InnerText failed
Hi,
Could you please post a Ranorex snapshot (not screenshot) of the problematic element? I guess the problem is a space or invisible character either in the reference or actual string.
Could you please post a Ranorex snapshot (not screenshot) of the problematic element? I guess the problem is a space or invisible character either in the reference or actual string.
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: Webpage validate InnerText failed
My guess would be that they aren't actually the same because the actual version probably has HARD or NON-BREAKING SPACES, while your expected/data set has soft spaces.
Make sure that all characters are the same. You may need to convert one of the strings by replacing spaces.
You can use Notepad++ to check both of the strings and make sure that all characters are the same by using the Show All Characters button.
Make sure that all characters are the same. You may need to convert one of the strings by replacing spaces.
You can use Notepad++ to check both of the strings and make sure that all characters are the same by using the Show All Characters button.
Shortcuts usually aren't...