iMacros-Checkpoints
1.Text Checkpoint
This TAG line is now a text checkpoint! If the text is not found, iMacros will report an error. If you want to report an error if a text is found, use FAIL_IF_FOUND:
TAG POS=1 TYPE=LI ATTR=TXT:Comprehensive<SP>CRM<SP>capabilities CONTENT=EVENT:FAIL_IF_FOUND
2.Image Checkpoint
(a) Check that an image is present
CLEAR
TAG POS=1 TYPE=IMG ATTR=TXT:*bee.jpg CONTENT=EVENT:SAVEITEM
TAG POS=1 TYPE=IMG ATTR=TXT:*shark.jpg CONTENT=EVENT:SAVEITEM
This technique is also recommended if you are automating or testing web sites with complex frames. To make sure a specific frame is completely loaded do the above test for a specific image in this frame. iMacros will wait at the TAG.....EVENT:SAVEITEM command until this image appears.
The method is easily implemented if you have information about the image such as its own URL, the link URL or the alternative text. If all you have is the image itself use the IMAGESEARCH command of the Image Recognition Plugin.
(b) Check the content of an image
Please use the IMAGESEARCH command if you need to verify the content of an image.
3.Web Table Checkpoint
4.XML Checkpoint
An XML checkpoint checks the contents of individual XML data files or XML documents that are part of your Web application.
iMacros can save XML documents and/or return the content of an XML to the calling script. You can use the standard XML functions available in all modern scripting languages to test the XML content in details (e. g. use Microsoft.XMLDOM in VBS).
5.Performance Checkpoint
6.Database Checkpoint
7.Page Checkpoint
A page checkpoint checks the characteristics of a web page.
iMacros does not in have a page check point. We recommend to use the other checkpoints instead.If you need to verify the complete page, you can use the SAVE command to save a website (with or without images) and compare it to a reference page via the Scripting Interface. You can also check for Javascript errors automatically.