Description Object
Description
Used to create a Properties collection object, in which you can add a set of properties and values in order to create the description of an object during a run session. You can then use this object in place of a test object name in a step. For more details, see Properties Object (Collection).
Methods
Create | Returns a Properties Object (Collection) in which you can add a set of properties and values in order to create the description of an object during a run session. |
Create Method
Description
Returns a Properties Object (Collection) in which you can add a set of properties and values in order to create the description of an object during a run session. You can then use this object in place of a test object name in a step.
Syntax
setPropertiesColl = Description.Create
The following example uses the Create method to return a Properties collection object named EditDesc
, and then uses the returned object to instruct UFT One to enter the text: MyName
in the first WebEdit object in the Booking Site page with the name UserName
.
set EditDesc = Description.Create()
EditDesc("Name").Value = "userName"
EditDesc("Index").Value = "0"
Browser("Welcome: Booking Site").Page("Welcome: Booking Site").WebEdit(EditDesc).Set "MyName"
See also:
- Crypt Object
- DataTable Object
- Description Object
- DeviceReplay Object
- DotNetFactory Object
- DTParameter Object
- DTSheet Object
- Environment Object
- Extern Object
- Parameter Object
- JSON Object
- JsonUtil Object
- MercuryTimers Object (Collection)
- MercuryTimer Object
- NV Object
- OptionalStep Object
- ParallelUtil Object
- LocalParameter Object
- PasswordUtil Object
- PathFinder Object
- PDFUtil Object
- Properties Object (Collection)
- QCUtil Object
- RandomNumber Object
- Recovery Object
- Remote Connection Object
- Reporter Object
- RepositoriesCollection Object
- Repository Object
- Services Object
- Setting Object
- SystemMonitor Object
- TestArgs Object
- TextUtil Object
- UIAutomation Object
- VisualRelation Object
- VisualRelations Object
- VisualRelationsCollection Object
- WebUtil Object
- XMLUtil Object