Troubleshooting Test Error #342700 (Pg Text Error)
Question / Issue: I received Test error #342700 named "Pg Text Error" (or "Missing Verify Text"). What does this really mean?
Symptoms/Cause: This error occurs when the test is unable to find the text that you've specified in your monitor within the HTML of the URL that you're testing.
Answer / Solution: Here are some possible solutions to aid you in troubleshooting this test error:
Ensure there are no additional spaces before or after the text entered in the verify text box.
Ensure that the text you're trying to verify is indeed located in the HTML source code itself and is not text that is inserted by JavaScript code dynamically or text printed on an image that is on the page.
If your webpage has recently updated, you may need to update the verify text field
Keep in mind that the text the test attempts to verify is text that is located within the HTML of the URL you're testing. This means that if any HTML tags are present within the text you're trying to verify, you must account for them. Otherwise, the verification will fail.
For example: Verifying "Have a good day!" will fail if the HTML looks like:
Have a <b>good</b> day!
Symptoms/Cause: This error occurs when the test is unable to find the text that you've specified in your monitor within the HTML of the URL that you're testing.
Answer / Solution: Here are some possible solutions to aid you in troubleshooting this test error:
Ensure there are no additional spaces before or after the text entered in the verify text box.
Ensure that the text you're trying to verify is indeed located in the HTML source code itself and is not text that is inserted by JavaScript code dynamically or text printed on an image that is on the page.
If your webpage has recently updated, you may need to update the verify text field
Keep in mind that the text the test attempts to verify is text that is located within the HTML of the URL you're testing. This means that if any HTML tags are present within the text you're trying to verify, you must account for them. Otherwise, the verification will fail.
For example: Verifying "Have a good day!" will fail if the HTML looks like:
Have a <b>good</b> day!
Updated on: 10/10/2022
Thank you!