![]() |
Drop-down list display - 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: Drop-down list display (/Thread-Drop-down-list-display) |
Drop-down list display - vijayendra.shukla - 11-24-2010 Hi, There is a requirement to test, that a drop down list should be visible to the end user when he/she clicks on the arrow icon to expand the list. I am not sure how should i proceed. When I recorded, QTP does not capture the Click event for the drop-down. It only captures when you have selected certain value from the drop-down. I thought that when I will click the Drop-down list, then i will use some property which govern the display of the drop down when selected, to verify whether the list is visible or not. I am unable to figure out how to do it using QTP. Any help would be highly appreciated. RE: Drop-down list display - nandu - 11-26-2010 Hi.. If you want to know drop down list is visible to end user.. u can use.. Code: list = Browser(..).Page(..).WebList(..).Exist if Drop Down list available on page it returns "True" other wise It returns "False". then check Code: If list = true then Please let me know if u have any doubts.. Thanx |