Forum Discussion
1 Reply
Sort By
- HKosovaSmartBear Alumni (Retired)Hi Praveen,
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.
Related Content
- 6 months agosohailalam2696
- 2 months agoStoplight
- 6 months agoRaghavanG
Recent Discussions
- 3 hours agoSubhraDas
- 17 hours agoJacobjacob44