| || |
Cannot fetch all list items from list box
I am automating scripts using QTP 11 for Power Builder Application. All the objects in the screen are identifying as Data Window like as Data Table. I am unable to get the count of items from the list box while traversing through all the fields by insrting the data. Could any one please help me in this regard.
Re: Cannot fetch all list items from list box
We have inbuild function for this. In order to get the count you can use obj.GetItemsCount.
Note : Before doing that activate the field and get the itemscount which helps to get the count because for PB applications mostly the hirarchy will be in PBDataWindow. So it is manditory to activate the object and get the count.