Results 1 to 2 of 2
  1. #1

    Broken links -WinRunner

    Facing a problem in WinRunner WebTest regarding putting checkpoint for a text link.
    When I go for adding a checkpoint for a "BrokenLink" property, it gives me "NotValid" as the expected value for a working link (which should be "Valid" according to the WinRunner guide). Upon executing the script, I get the actual value as "Valid" which mismatches with the exp value and the checkpoint fails for a working link.


  2. #2

    Re: Broken links -WinRunner

    If the checkpoint is giving you an incorrect value when you are creating it, you might want to take a look at the 'web_link_valid' function (part of WebTest).

    It will allow you insert the expected value (correctly) - check out this code snippet example from WR Help.

    #Check the link named “WinRunner”
    rc=web_link_valid ("WinRunner", valid);
    if (valid == TRUE)
    report_msg (" Link name is valid.");
    report_msg (" Link name is not valid.");





Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 03:50 PM.

Copyright BetaSoft Inc.