Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Identify the WebList
#1
Not Solved Exclamation 
hi .

I am facing a problem in object identification on my web application.I am not able to select the value from WebList through DP. I have set all the properties of that weblist.but still not identifying the list...

Can anyone tell me ...wats the problem in identifying the Weblist. The code used is,


Code:
Browser("name:= X").Page("tilte:= X").WebList("micclass:=weblist","html tag:=SELECT", "class:=list_container", "html id:=category ", "name:=category","select type:=ComboBox Select").Select "#1"
Reply
#2
Not Solved
Hi Rajesh,

hope this will help u

Code:
Browser("micclass:=Browser").Page("micclass:=Page").WebList("micclass:=weblist","html tag:=SELECT", "html id:=category ", "name:=category","select type:=ComboBox Select").Select "#1"

or


Code:
Browser("micclass:=Browser").Page("micclass:=Page").WebList("micclass:=weblist","html tag:=SELECT", "html id:=category ", "name:=category","select type:=ComboBox Select").Select 1

actually that many properties is not required to select option from weblist

just u can pass only the unique property which is "html id" or "name" like below

Code:
Browser("micclass:=Browser").Page("micclass:=Page").WebList("html id:=drpyear").Select 1


Thanks & Regards,
G@veyom
Reply
#3
Not Solved
Code:
browser("title:=property name").page("("title:=property name").weblist("name:=prorpety name").select "#index"

where property name=go and spy on browser page, and corresponding weblist object
Reply
#4
Not Solved
Code:
Browser("name:= X").Page("tilte:= X").WebList("micclass:=weblist","html tag:=SELECT", "class:=list_container", "html id:=category ", "name:=category","select type:=ComboBox Select").Select "#1"

In the above statement,
- micclass need not be used. Because you already specified the class name i.e. weblist()
- html id:=category there is an extra space after category. Instead you can use .*
- select type:=ComboBox.*

Please try with the below statement:
Code:
Browser("name:= X").Page("tilte:= X").WebList("class:=list_container", "html id:=category.*", "name:=category","select type:=ComboBox.*").Select "#1"
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Webtable objects recognise as weblist in UFT 12.5 Sharad Kumar 0 1,163 12-06-2018, 04:57 PM
Last Post: Sharad Kumar
  QTP identifying WebList as WebEdit and an Element passion77 3 8,434 01-27-2014, 10:21 PM
Last Post: supputuri
  How to populate data in weblist using excel vijifun 1 3,298 12-05-2013, 12:06 PM
Last Post: basanth27
  GWT Weblist Not Getting Detected in QTP 10 aravind07 0 2,548 11-25-2011, 09:48 AM
Last Post: aravind07
  Cannot identify the object "[ WebList ]" while using descriptive programming Uma 3 11,097 09-23-2011, 07:56 PM
Last Post: jyotikrushna

Forum Jump:


Users browsing this thread: 1 Guest(s)