Validate Innertext using Validate Action

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Posts: 1
Joined: Mon Sep 12, 2016 6:26 pm

Validate Innertext using Validate Action

Post by vickyrockz007 » Mon Sep 12, 2016 7:05 pm


I am trying to automate a Purchase flow of a Webpage.Here the webpage provides compatability status for all of the Inputs provided.Excel sheet is provided as the source for Input,for which the webpage checks and Provides the results. The result from the Webpage is somewhat similar to (Pass /Fail).

In order to seperate and show the failed results as negative.I tried to Verify the Pass Results,for this I used the -Validate Action- which Validates the innertext of the particular tag.and throws error If it is not matched.

But unfortunately the Final Report always show success.

System: Win 7 Enterprise /Service Pack 1
Ranorex: 6.1.0
You do not have the required permissions to view the files attached to this post.

User avatar
Ranorex Guru
Ranorex Guru
Posts: 7469
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Validate Innertext using Validate Action

Post by odklizec » Tue Sep 13, 2016 11:35 am


I'm not quite sure what element exactly you want to validate? Could you please upload a Ranorex snapshot (learn how to create one >here<) of the element in question? What you have provided is a repository, but I'm afraid, it's not enough.
Pavel Kudrys
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