Posts: 60
Threads: 24
Joined: Jun 2012
Reputation:
0
06-19-2012, 04:46 PM
(This post was last modified: 06-19-2012, 04:48 PM by sia sharma.)
hi all,
i m testing a website...
it has a textbox which allows user to select a city from auto suggest list..
when i m recording a script in qtp ..it is not capaturing the autosuggest ...
how can i make qtp work for the same..
Thanks
sia
Posts: 426
Threads: 4
Joined: Aug 2011
Reputation:
0
06-20-2012, 01:36 PM
Hi, this code is to check and select the item from auto suggest list.
First set the focus on txtBox
Then wsShell will write the text (in this case it is te, specify the text as per ur requirement)
wait xx-- time to display the auto suggest list
Add the auto suggest to OR..in my case it was web element
Then select the choice.
Regards,
Sankalp
Posts: 426
Threads: 4
Joined: Aug 2011
Reputation:
0
06-21-2012, 01:46 PM
(This post was last modified: 06-21-2012, 01:48 PM by sshukla12.)
Ya, it got ur mail...I had replied on it..plz check..
Posts: 121
Threads: 8
Joined: Apr 2012
Reputation:
2
06-21-2012, 02:27 PM
Hi sshukla
It will be helpful for others if u post the solution here in forum.