Requirement link value

One answer

There will be no "Requirement" element in the data source, let alone the "href" value, if there are no requirement links at all.
Comments

Hi Donald,
Thank you so much for your effort. but, is there any java script snippet to provide value if no requirement found for any test case. i want to provide "N/A" value if no Requirement found in a Test case in RPE. Once again, Thanks a lot.

I'm not familiar with RPE. In terms of JavaScript, I suppose you can just try to access the Requirement element, then test whether it is null (or undefined depending on your code), such as this:
http://stackoverflow.com/questions/2559318/how-to-check-for-an-undefined-or-null-variable-in-javascript

I have 3 test cases where one of them do not have the requirement and all three test cases run one after another. one does not have requirement i would like to replace with "N/A" value. but i could not do it even if i tried so many ways. if u have any idea, i would appreciate you so much.