Technote (FAQ)
Question
I want to check that a specific string exists on a page to verify that the correct page has been displayed.
To test this, I've entered a string that I know won't exist but the verification point isn't failing. How can this happen?
Cause
This could be due to:
Answer
- An incorrect verification point setup
The default comparison performed by a content verification point is:
"Verification fails if:"
It is very easy to miss this and enter text that you expect to be present in a page and therefore pass the verification test, when in fact it will fail.
- A limitation in the use of ITCAM perspective in the RPT workbench
Content verification points can be defined in the ITCAM or Test perspective.
The following describes a limitation that exists when using the ITCAM Perspective to define content verification points.
When defined in the ITCAM perspective the VP is inserted under the first element of the selected primary page. This is also called the primary request of the page and is identified as a primary request for that page when opened in Test perspective.
The following screenshot shows the positioning of the Content Verification point, the presence of the string in the displayed page and the result of an attempt to find the string in the page content.
Despite the text being visible in the page, It is not necessarily available for verification purposes in the first element. It may be present in the data content of another element processed later in the page, as seen below:
In this case the verification point test is being performed in an element that will never contain comparison data.
You must therefore define the content VP in the appropriate element in the RPT Test Perspective:
| Segment | Product | Component | Platform | Version | Edition |
|---|---|---|---|---|---|
| Systems and Asset Management | Tivoli Composite Application Manager for Response Time | ITCAM for RT (Dist) | Windows | 6.2 |
Product Alias/Synonym
ITCAMfT
TCAMfT
CAMfT
ITCAMfRT
TCAMfRT
CAMfRT
Rate this page:
Average rating
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.