Micro Focus QTP (UFT) Forums
Weblist selection - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Weblist selection (/Thread-Weblist-selection)

Pages: 1 2


RE: Weblist selection - ManualTester - 11-22-2012

Thanks zeeshan


Facing issue with weblist selection. - rajpradeep32 - 06-16-2015

Error:
Object required: '[string: "United States"]'

Code:
Line (8): "Set oabc=Browser("name:=Salesforce Developers").Page("title:=Salesforce Developers").WebList("name:=user\[country\]").GetItem(1)".


Code:

Code:
SystemUtil.Run "iexplore.exe", "https://developer.salesforce.com/signup?d=70130000000td6N"

Set obj=Description.Create
obj("micclass").value="WebList"
Set odef=Browser("name:=Salesforce Developers").Page("title:=Salesforce Developers").ChildObjects(obj)
Print odef.Count   'Getting the overall count here

Set oabc=Browser("name:=Salesforce Developers").Page("title:=Salesforce Developers").WebList("name:=user\[country\]").GetItem(1)  'Facing error in this line[url=http://tinypic.com/view.php?pic=6tdyk8&s=8#.VYA41_mqpBc]Image[/url]

Msgbox oabc.GetROProperty("value")