Saturday, 17 May 2014

QTP-UFT - how to you describe a object using descriptive programming



'We can use Description.create

Set obj = Description.Create
obj("micclass").value = "Image"
obj("name").value = "Sample"

'in the above case we have define a object of "Image" type and whos name is "Sample"

We can also use additional properties like outertext, innertext, Class, x, y etc. to create these descriptions.

1 comment: