Forum Discussion
HKosova
Alumni
14 years agoHi Praveen,
TestComplete's analog of QTP's Description.Create is the FindChild method:
In addition, ObjectType and ObjectIdentifier are default identification properties for most web objects, so you can also access your link using the following simple notation:
TestComplete's analog of QTP's Description.Create is the FindChild method:
PropNames = Array("ObjectType", "ObjectIdentifier")
PropValues = Array("Link", 0)
Set oLink = parentObject.FindChild(PropNames, PropValues)In addition, ObjectType and ObjectIdentifier are default identification properties for most web objects, so you can also access your link using the following simple notation:
This is similar to QTP's Link("index:=0") notation.
For more examples of this syntax that can be applied to your web application, examine the app in the Object Browser.