Object Libraries

Top  Previous  Next


Object libraries define what objects and interactions SmarteStudio understands during Recording and Learning.  Most Object Libraries are specific to an application or a set of applications.



SmarteStudio comes with nine object libraries: (1) Auto, (2).NET. (3) Internet Explorer HTML, (4) Firefox HTML, (5) User, (6) DOM GWT, (7) DOM YUI, (8) Generic, and (9) Advanced Accessibility.  You can add your own Recording library--one that understands the objects in your application.


Selecting Auto as the application recording library will cause SmarteStudio to select the one that it deems is most appropriate.
.NET: Use this library with .NET applications.
Internet Explorer HTML and Firefox HTML are used with Internet Explorer and Firefox respectively.  They understand only the DOM (document object model) and therefore capture interactions with the web application, not the browser.  They also have access to passwords.  Tests recorded with either library can be run in both Internet Explorer and Firefox.  See Cross Browser Testing for more details.
User refers to Custom Libraries.
The DOM GWT library uses the Document Object Model to learn or record objects found in the Google Web Toolkit.
The DOM YUI library uses the Document Object Model to learn or record objects found in the Yahoo! User Interface library.
The Generic library uses Microsoft's MSAA event model to capture user actions. The Generic library should be used if there is no library more specific to the AUT available.  The Generic library will record a large set of applications, but it has drawbacks; it may skip some actions and/or record unintended actions.  Passwords are not visible to the Generic library, and must be manually entered into the test after recording.
The Advanced Accessibility library is for recording with Internet Explorer.  In general, you will want to use the Internet Explorer HTML library.  However, there is some information available through Advanced Accessibility that is unavailable when looking solely at the DOM.  For example: the absolute screen position of an object.  Advanced Accessibility is not precise, as Internet Explorer HTML is, and may miss actions or record unintended actions.


See Also

To write an Object library specific to your application, see Custom Libraries.
Cross Browser Testing
If you interact with an object that is not defined in your chosen recording library, it will be treated as a Simulated Object.