Able to identify the textbox and set value into it with QTP successfully, but each time I playback the script, it always gets failed.
tried to get QTP work with Ajax add-in, but it still didn't work as well, below is the website which i'm trying to be entrusted with: http://www.qunar.com/
input "CTU" in the textbox "&#22478;&#24066;&#21517;" and "pek" in the second textbox
Hope you guys can help with it.
any help would be appreciated
Check if the textbox is available and enabled prior to entering the value. I think there seems to be some ajax script running in the background of app, that might change the properties/status of textbox. Just try to check, if the textbox properties are the same during recording and playback.
Add some synchronization and allow the textbox to get loaded fully.