tag:blogger.com,1999:blog-1325622456158645929.post8948673434259905073..comments2023-09-05T06:08:58.034-07:00Comments on SUDHAKAR'S TEST AUTOMATION BLOG: How to write DP for an object having many objects in its heirarchy?QtpSudhakarhttp://www.blogger.com/profile/03060104047856902928noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-1325622456158645929.post-50368967586730826762009-04-17T10:25:00.001-07:002009-04-17T10:25:00.001-07:00Yes Anshoo. We can do that.I have given a standard...Yes Anshoo. We can do that.I have given a standard technique to write.Sudhakar Reddy Kakunurinoreply@blogger.comtag:blogger.com,1999:blog-1325622456158645929.post-54421505347710927992009-04-17T10:25:00.000-07:002009-04-17T10:25:00.000-07:00If you're working in the Web Environment, you ...If you're working in the Web Environment, you can totally skip all intermediate objects and only consider the top-most and the bottom-most object and still retrieve the exact same result as you would otherwise. Therefore, saying that:When the hierarchy is like Browser--> Page -->Frame-->WebTable--> WebTable-->WebTable-->ObjectThen consider Browser--> Page -->Frame-->Objectis also equivalent to:Browser--> Page -->Frame-->ObjectBrowser--> Page -->ObjectBrowser--> ObjectHowever, the statement about skipping intermediate objects does not apply to all technologies.Anshoonoreply@blogger.com