Natural Language Processing Engine
Rating Star
Rating Star
Rating Star
Rating Star
Rating Star
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" "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.
Run NLP Command →
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
Paul Grossman
Magic-Object-Model, MOM, Plain-Englsh, NLP, Natural-language-processing, DarkArtsWizard, Dark-Arts-Wizard, Text-to-code, Sentence, Lexical-Analyzer
Frequently Asked Questions
An Addon is a collection of coded Automation Actions you can use within any test to empower TestProject's in-browser recorder and extend its built-in capabilities even further. Addons are stored in a collaborative library on TestProject's platform. They are developed and shared by the entire community, and give you the power to effortlessly enhance your recorded tests while saving up valuable time. Learn more here.
An Automation Action is a specific coded action within an Addon, that helps you with the creation of your test automation and acts as a building block within your test. The goal of an Automation Action is to save you valuable time and effort in order to enhance your test cases.
Yes, the Addons library and all of their Automation Actions are 100% free, created and contributed by the community for the community.
Definitely! You can use our Java SDK to customize any coded action to fit your exact testing needs. Read more about it here or reach out to us for help at [email protected].
For sure! Feel free to suggest an Addon or an Automation Action you might be missing over on our suggestions board here. The TestProject Team reviews carefully every single request and prioritize its development accordingly.
Of course! TestProject has a dedicated team of Solution Engineers available to help you with any of your testing needs and on any question you may have. Simply reach out to our experts via the chat, active forum, or write to us at [email protected].
Yes it is! TestProject is 100% free test automation platform and is powered by Tricentis, the #1 leader in software testing, extending its support and commitment for the open source community.