Natural Language Processing Engine
Get
Paul Grossman
Addon Tag
Magic-Object-Model
Addon Tag
MOM
Addon Tag
Plain-Englsh
Addon Tag
NLP
Addon Tag
Natural-language-processing
Addon Tag
DarkArtsWizard
Addon Tag
Dark-Arts-Wizard
Addon Tag
Text-to-code
Addon Tag
Sentence
Addon Tag
Lexical-Analyzer
v2.0.6
Web Platform
Java
Addon installed icon
131 installs
(4)
Rating Star
Rating Star
Rating Star
Rating Star
Rating Star
Overview
This is a Natural Language Processing (NLP) Engine that converts "Plain English" sentence commands into executable code. It features the Magic Object Model for on-the-fly object recognition of visible Links, Buttons, Fields, Lists, Tabs, CheckBoxes, RadioButtons and Text. SENTENCE PARSING The basic structure consists of a basic two to five word sentence: [Verb] [Element Name] [Class] [Verify] [Data] For Example: "Open https://candymapper.com/the-magic-object-model" "Click Send Button" "Enter Name Field Paul" "Verify Name Field Contains Paul" "Select Vehicle List Audi" ADVANCED PARSING The NLS engine can also parse more verbose sentences "Click on the Send Button" "Verify the Name Field Contains Paul" ALTERNATE SENTENCE STRUCTURE Select and Enter verbs support a natural alternative sentence structure: [Verb] [Data] [Element Name] [Class] "Select Audi from Vehicle List" "Enter Paul into the Name Field" DEDUCTIVE CLASS REASONING If no object class is included the framework uses deductive reasoning to guess element types in shorter form sentences: "Click Send" (Button) "Select Audi from Vehicle" (List) "Verify Name Contains Paul" (Field) "Verify Paul" (Text, Exists) VERBS The framework supports the following list of verbs: Open [any URL], Hover - over a named Button, Link, Tab or Field Click - a named Button, Link, Tab, Field, Image, RadioButton or Checkbox Select - an named Item from a named List Enter - Text into a Field Clear - a named Checkbox Type - Types text at current element and Esc, PgUp, PgDn, Up, Down keys at browser Wait - Pauses execution for a stated amount of seconds Wait For - Waits up to 9 seconds for a text element to appear Verify - any named element SINGLE QUOTES Single quotes are supported where a named element includes an class. Verify 'Naughty and Nice List' Text exists Wait For 'Step 2' VERIFY The Verify verb supports the following element validations Verify Named [Element Type] is enabled Verify Named [Element Type] is displayed Verify Named Field is 'Expected Text' (Exact match - case sensitive) Verify Named Field Contains 'Expected Text' (Close match - case sensitive) NEGATIVE TESTING Verify also supports negative testing Verify Named Element does not exist Verify 'Expected Text' does not exist Verify Named Button is not displayed Verify Named Field does not contain 'Expected Text' (Close match - case sensitive) The engine uses brief highlighting for visual validation during execution Pass results are highlighted, briefly, in Green Fail results highlight in Red and pauses for 3 seconds TYPE This command will type text at current element. Click Name Field Type Paul It also allow PgUp, PgDn, Up, Down keys at browser to perform custom scrolling Click 'Show All Images' Type PgUp Type Up Type Esc can be used to clear most popups. Type Esc COMMENTS Comments can be added to the output with the comment command Comment 'Populate the Shopping Cart' CASE SENSITIVITY Text and Links are the only elements that have case insensitive matches Verify 'GET IN TOUCH' Text exists Verify 'GET IN TOUCH' Link is displayed All other elements must match in case sensitivity Verify vehicle list is displayed Tip: Use F12 to review the exact element wording in the HTML page. Sometimes the case of the displayed text does not match that of the HTML. CLOSE MATCH WARNINGS If more than one image element matched your text, any 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. CLASS SWITCHING FOR BUTTONS If no Button element can be found a class switch to a Link will be executed. If a match is found a Warning is output into the results. Likewise for Links as Buttons. CLASS SWITCHING FOR TEXT If no text element can be found a class switch to a all elements will be executed. If a match is found a Warning is output into the results. ALTERNATE VERBS Nav To and Navigate To are alternates to the Open Verb. Set is an alternate to Enter Hover Over is an alternate to Hover ALTERNATE VERBS Is Displayed and Is Visible are alternates to Exists Is Not Displayed and Is Not Visible are alternates to Does Not Exist Version History: v1.18 - Initial public release v1.19 - Added Verify Named Object is Enabled, refactored variables to Sentence (s) and Framework (f) classes.
Actions
Run NLP Command
Execute Natural Language Statement
Platforms
Web Platform
Web
What's new
Fixed "Enter Name Field Paul" format enters text into field#*#*#Reports element's Css/xPath description in output#*#*#Fixed: Select Element from list#*#*#"Launch" added as an alternative verb to "Open"
Fix for getting error data back from crash
Permissions
fileSystem