Hi Santosh / Deepak, It seems like both of you are facing the same situation where WebList is identified as WebElement and the basic reason for this is UI of your respective application must be renewed and the developers must have used jQuery to create the custom objects. Since QTP provide an alternative for DOJO, AJAX, YUI etc objects in the form of Web 2.0 Dev kit but they will be helpful in creating a custom object which somehow behave as weblist ( in your case ) and will always be imported in your each test as they act as an addin.
My suggestionto both of you is to work with DOM of your application and try to identify the real object ( which will be present if you go through the page source or use Firebug while using FF or inbuilt inspect element feature of chrome ) ... by this way you will be able to create DP objects for real objects which are present on webpage but are not really visible to you on UI easily. hope it help .... in case i'm not able to convey my point clearly ..do let me know. Cheers, On Jul 12, 11:42 am, santhosh kumar <[email protected]> wrote: > Hi depak/KK > > I am also facing same issue as you mentioned ... > In my application WebList is identified as Weblement .... I also tried what > i had tried tried to accses list object and listitem object as WebElements > but of no use. > Please Let me know if you find any solution ... its Urgent for me .... > > > > > > > > On Friday, March 16, 2012 6:15:24 PM UTC+5:30, Deepak wrote: > > > Hi All, > > In my application, a weblist is identified as webelement and all the list > > items also. i use webelement("").click two times for the list once and for > > the list item once. For the list it works fine but it can't identify the > > object for list item. i tried DP also.the object can be identified by > > object spy . Can anyone suggest any solution > > > Thanks In Advance > > > Regards, > > Deepak -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
