Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot identify the object "[ WebList ]" while using descriptive programming
#1
Not Solved
Hi
Here,for the weblist I am giving ordinal identifier,and I am passing the value for the property name and I am giving one default value too.
Code:
"Browser("opentitle:="&result,"application version:=internet explorer 7").
Page("title:=RETS Server(.*)","index:=0").WebList("index:=0","name:="&Ty,"select type:=ComboBox Select").
Select "TypeGmd"".
but it always gives the following error,

Cannot identify the object "[ WebList ]" (of class WebList).
Verify that this object's properties match an object currently displayed in your application.

[I checked with the object spy,It has the correct value what i entered here]
Any help?
Thank you
Uma
Reply
#2
Not Solved
It works if I give unique values
Reply
#3
Not Solved
Uma,
Please try to find the page is highlighted or not. then we can find out the problem in weblist object.

Code:
Browser("opentitle:="&result,"application version:=internet explorer 7").
Page("title:=RETS Server(.*)","index:=0").Highlight
If anything wrong correct me

regards,
Arul.D
Reply
#4
Not Solved
Hi, can u plz try the below code:

Code:
dim oList
set oList=description.create()
oList("micclass").value="WebList"

set oList1=browser("title:=.*").page("title:=.*").childobjects(oList)
cn=oList1.count

if cn <>0 then
oList1(0).select"TypeGmd"
else
msgbox "weblist isn't present on the page"
end if
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Dynamic descriptive Programming issue in Terminal Emulator cprasad 1 1,711 04-25-2019, 08:17 PM
Last Post: Ankur
  Webtable objects recognise as weblist in UFT 12.5 Sharad Kumar 0 1,040 12-06-2018, 04:57 PM
Last Post: Sharad Kumar
  UFT Tool support with Descriptive programming laks 1 1,610 07-05-2018, 05:31 PM
Last Post: Ankur
  not able to identify an webelement object Ninjukp 0 2,090 01-10-2018, 09:25 PM
Last Post: Ninjukp
  UFT Descriptive Programming objects not identified in a secure & private intranet env bugfinder2 1 1,644 06-07-2017, 01:41 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)