Micro Focus QTP (UFT) Forums
Object doesnt support this propety or method - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Object doesnt support this propety or method (/Thread-Object-doesnt-support-this-propety-or-method)



Object doesnt support this propety or method - Uma - 10-12-2011

Hi,
This is my code.
Code:
If  Browser("name:=MyL.*", "creationtime:=0").Page("name:=ACXPPro", "title:=MyL.*").WebList("name:=187", "index:=0", "class:=LMList").Exist(1) Then
Browser("name:=MyL.*","creationtime:=0").Page("name:=ACXPPro","title:=MyL>*").WebList("name:=187","index:=0","class:=LMList").Set DataTable("Source2","DescriptionInfo")
End If

I have 3 source values,
Source1-Excel value -Agent-Working
Souce2-Excel sheet value-I Tried with Agent and #1 -not working
Source3-Excel value-Agent

The same code is working for Source 1 and Source 3.but not working for source 2,so I set up Exist to find the parent hier..,It is there and I tried with index...but againa and agin i am getting the object doenot support error.
Any help?
Thank You
Uma


RE: Object doesnt support this propety or method - Uma - 10-13-2011

It is working,
Pls check the method is correct or not
the correct code is
Code:
Browser("name:=MyL.*","creationtime:=0").Page("name:=ACXPPro","title:=MyL.*).WebList("name:=187").Select DataTable("Source2","DescriptionInfo")
Thanks,
Uma