Micro Focus QTP (UFT) Forums
QTP 10 not detecting Elements from auto suggest listing - 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: QTP 10 not detecting Elements from auto suggest listing (/Thread-QTP-10-not-detecting-Elements-from-auto-suggest-listing)



QTP 10 not detecting Elements from auto suggest listing - Sanjay_aggarwal - 07-16-2013

I am using QTP 10. i have to automate a test case with the value selection from Auto suggest list of Destination , i.e. i entered delhi then Auto suggest list for entered string will get populated & user will select any value from auto suggest list & then will proceed. Can you please provide a Solution & how can we parametize this step.


Thanks
Sanjay Aggarwal


RE: QTP 10 not detecting Elements from auto suggest listing - ssvali - 07-16-2013

Try this below code

Code:
Browser("Google").Page("Google").WebEdit("q").Set "a"
Browser("Google").Page("Google").WebEdit("q").fireevent "onkeyup"
Browser("Google").Page("Google").webtable("airtel").webelement("innerhtml:=irtel").click