Forum Discussion

bommareddy's avatar
bommareddy
Contributor
10 years ago

How to capture typeahead objects using TestComplete tool?

How to capture typeahead objects using TestComplete tool.

 

for ex when we are typing in google textbox, some suggentions will be shown automatically.

 

How to capture those suggestions using TestComplete?

 

Reply me with your valuable suggestions...

 

 

Thanks

Bomma Reddy

  • Hi Bommareddy,

     

     

    You should see that window in the object tree. The only thing you need to do is to identify the path to the window. For this, you can use the Point and fix feature in Object Spy. Once, you find the path, you can use it in your test to get the data you need.

  • Depends how they're doing it.

     

    In the case of a website I worked on, there is a object in the same container as the textbox with propgation logic attached to it which gets populated during the run. I think they use JavaScript & KnockOut to do theirs.

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Bommareddy,

     

     

    You should see that window in the object tree. The only thing you need to do is to identify the path to the window. For this, you can use the Point and fix feature in Object Spy. Once, you find the path, you can use it in your test to get the data you need.