But MOM is the Magic Object Model, used to reduce 90% of the Page Object Model
MOM is understanding, forgiving and will do a lot for you by just asking.
MOM has a basic, two to five word sentence structure:
[Verb] [Element Name] [Class] [Verify] [Data]
"Click Send Button"
"Enter Name Field Paul"
"Verify Name Field Contains Paul"
MOM recognizes verbose sentences
"Click on the Send Button"
"Enter Paul into the Name Field"
"Verify the Name Field Contains Paul"
MOM uses deductive reasoning to guess element types in short form sentences
"Enter Paul into Name"
"Verify Name Contains Paul"
Open, Nav, Nav to - any URL
Hover a Button, Link, Tab or Field
Click - a Button, Link, Tab, Field or Radiobutton
Select an item from a List
Enter text into a field
Set or Clear a Checkbox or Radiobutton
Verify 'Quoted' Text exists
Verify Named Image is displayed
Verify Named Field is 'Expected Text'
Verify Named Field Contains 'Expected Text'
Verify Text does not exist
Verify Named Button is not displayed
MOM will highlight PASS results in GREEN
Fail results highlight in RED
Non-fatal issues will highlight in PINK
In some cases MOM is sensitive, case sensitive.
Verify 'GET IN TOUCH' Button is displayed may not work.
Tip: Use F12 to review the exact element wording in the HTML page
If more than one image element matched your text, the other on screen matches will be highlighted for a few seconds and a First Close Match warning will be reported. Consider a using longer string to uniquely identify elements.
If MOM does not recognize a sentence with lots of words consider using single quotes.
Click the 'Get in Touch' Button
If no Button elements can be found MOM will class switch to a Link, and give a warning.
7 Westminster Bridge, Vauxhall Cross Station, London
Copyright © 2019 CandyMapper.Com - All Rights Reserved.
Four Rights make a Left.
Powered by GoDaddy Website Builder
Welcome to the CandyMapper Automation Sandbox Challenge:
THE REQUIREMENTS ARE SIMPLE:
A) Click the 'x' to close this popup
B) Populate the Contact Us field below
C) Verify any success massage
D) Run the test twice
Found a misspelled word? There are 11 more "issues" and 8 Horror Movie references.