I do web testing.I was trying to verify link using winrunner.i used following code ,It always go to else part and operation failed error is displayed.Please correct me if i am doing something wrong. and suggest me correct procedure.
if (rc == E_OK)
if (valid == TRUE)
report_msg (" Link name is valid.");
report_msg (" Link name is not valid.");
report_msg (" Operation failed.");