Micro Focus QTP (UFT) Forums
Auto complete for Web Edit box - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Auto complete for Web Edit box (/Thread-Auto-complete-for-Web-Edit-box)



Auto complete for Web Edit box - branjitk - 06-08-2012


Hi all,
Good Morning,
I am having the problem for autocomplete the values in webedit box,by using script.
After entering the values in From and To Text boxes using VBScript and click Find button in QTP-10.Then the values are setting to null and it is listbox,the values are going to default value.
Can any one please solve the solution?

Thanks & regards,
Ranjit Kumar.B


RE: Auto complete for Web Edit box - kamalteja - 12-20-2014

You need to write the code in split
1. Write script to place cursor in the webedit
2. Enter the text you want to enter
3. Write keyboard action for downward navigation key
4. Write keyboard action for Enter


RE: Auto complete for Web Edit box - supputuri - 12-20-2014

Alternatively you can use the fireevent to simulate the event.

Check the event that is associated using the F12 in your browser.