Micro Focus QTP (UFT) Forums
WEBLIST - 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 (/Thread-WEBLIST)



WEBLIST - shayk1985 - 01-11-2014

Hi All,

I need a help. I am automating a web application.
There is a weblist which contains time like 11:00 AM, 11:30 AM. I need to select a time and then there is a button which gets activated and i need to click that button. But the problem is when i am manually click the time the button gets activated by when i am automating it it gives me error "Object is disabled" Which means it is not clicking. Please help me how to click this.

Thanks
Shayk


RE: WEBLIST - Maheep_bhambri - 01-12-2014

Hi shayk,

This is one of very common problems of automation. script and screen are not in sync.
Use wait command to bring script execution in sync with application response when you choose time in weblist

Use
Code:
Wait(n)
. here n can 1,2,3.. depends on how your application response.
note : code is protocol to reply in this forum . use only wait command and check if it works.


RE: WEBLIST - Anupama - 05-16-2018

Hello All,

I am new to UFT and I have this task where I need to perform a comparision between list of all the items available in a weblist with expected list. And I was told not use any excel or Local/global data sheets.

And this weblist I am talking about is common for different users but with no of items might vary. So I want parametrize this in way that I can use it as function and can use for diffrent users.

Below is the code I am using to capture all the weblist values. Since I am not supposed to use a excel or data sheets. I dont know how to compare with expected data.

all = Browser("B").Page("P").WebList("L").GetROProperty("all items")
arr = split(all, ";")

Please help


RE: WEBLIST - Ankur - 05-17-2018

@Anupama: Please create a new thread for a new question. We are locking this thread. Here is how you can open a new thread.