URL validation

URL validation

Home Forums Ask Expert URL validation

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #32665
    Sasha ZAP
    Moderator

      Hello sunil.ganta,

      Basically there are 2 ways you can check and validate URLs in ZAPTEST:

      1. Use the ZAPTEST build-in “URL Scanner” (Appears in the upper-right icons’ toolbar):
      In it you can specify the main parent URL and by clicking on the Scan button the tool will navigate and run itself through all of the child URLs and other sub-URLs which branch from the main parent URL;
      When it will finish you can click on the “Export to HTML” button and generate its final report, this report will show you all valid URLs and all URLs which have different issues in them.

      2. Scan only once a certain valid page using the ZAPTEST GUI Map;
      Specify conditions to check all required URLs (Please note in ZAPTEST Free Edition you cannot use Loops), before entering the condition use the SetProperty method to update the “regexpwndtitle” property during runtime using code such as:
      Application(“Application”).SetProperty “regexpwndtitle”, Expected title of the new URL (Can use also Regular Expression)
      Then use a condition such as this one to check if the URL’s page is valid:
      If Application(“Application”).Exist Then

      Hope this helps.

      Thanks,
      ZAPTEST Team

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.

    Virtual Expert

    ZAPTEST

    ZAPTEST Logo