Validate Innertext using Validate Action

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
vickyrockz007
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

Hi,

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
Attachments
329010 Sep. 12.png
WebPage Screenshot
329010 Sep. 12.png (84.92 KiB) Viewed 546 times
Prod_TT_Purchase2Repository.rxrep
ranorex spy
(20.3 KiB) Downloaded 33 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3930
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

Hi,

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