Micro Focus QTP (UFT) Forums
Automate Typeahead objects in Web application with QTP 10 - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Automate Typeahead objects in Web application with QTP 10 (/Thread-Automate-Typeahead-objects-in-Web-application-with-QTP-10)



Automate Typeahead objects in Web application with QTP 10 - SweetyChowdhury - 06-22-2011

Hi,
I need to automate the the type ahead feature in the web application(that I am currently working on). The QTP 10v is being used for the same. Basically when I enter some data in an webedit object, the sugesstions related to it appears under it. It is been identified as a webtable for each item appearing in that list.

Any suggestions will be great.


RE: Automate Typeahead objects in Web application with QTP 10 - SweetyChowdhury - 06-23-2011

Hi Ankur,

Can you provide some inputs on it? I am currently reading the web extensibilty PDF file for the same.


RE: Automate Typeahead objects in Web application with QTP 10 - Shridhar - 03-01-2012

Hello Guys,

i am also stuck in the same problem.. did you get a solution for typeahead feature testing???


RE: Automate Typeahead objects in Web application with QTP 10 - inborntester - 03-01-2012

what is the issue on its identified as web table?. if you want validate the type ahead feature means, just get all row web table cell content and compare with expected values.


RE: Automate Typeahead objects in Web application with QTP 10 - sshukla12 - 03-02-2012

Hi,

Please try this:

Code:
Set WshShell = CreateObject("WScript.Shell")
wait (1)
WshShell.SendKeys "<your search sting>"
wait(1)
Set WshShell = Nothing
wait 4
Browser("").Page("").Frame("").WebElement("innertext:=test","index:=1").Click
wait 2