Current time: 07-02-2020, 05:28 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
screen shot get the previous page which i set logData 0
09-06-2012, 12:08 AM
Post: #3
RE: screen shot get the previous page which i set logData 0
Thanks for your reply.

Sorry, I put a wrong script.

My script update as

setHeader Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
logData 0
navigate http://hotels.ctrip.com
sleep 2
setValue id=txtCheckIn 2012-09-28
setValue id=txtCheckOut 2012-09-30
setValue id=cityId 32
setValue id=cityPY guangzhou
setValue id=hidDistrictCity 32
setValue id=txtCity %B9%E3%D6%DD
exec document.getElementById("__VIEWSTATE").name ='xxx'
exec window.document.forms[0].action = "http://hotels.ctrip.com/hotel/"+document.getElementById('cityPY').value+document.getElementById('cityId').value​

logData 1
submitForm name'aspnetForm

But it still capture the picture of http://hotels.ctrip.com, instead of next page.

I work well on webpagetest.org website, see http://www.webpagetest.org/result/120905_XA_BRV/
But in my computer, it can't work.

Is there anything I need to set?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: screen shot get the previous page which i set logData 0 - feifeipan - 09-06-2012 12:08 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)