|
飞机订票例子输出值问题
输出值老是为空是怎么回事啊,麻烦知情人帮帮忙,谢谢了!
Output the text that is displayed between stopPrice: $ and (based on round trip) into depart_price DataTable output value.
Captured text is: ""
具体代码如下:Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("userName").Set "mercury"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("password").SetSecure "4805cba626ab726b91c35792057bd2210d21a685"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("Sign-In").Click 23,1
Browser("Welcome: Mercury Tours").Dialog("Internet Explorer - 安全警告").Close
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebList("fromPort").Select DataTable("depart", dtGlobalSheet)
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebList("fromMonth").Select "December"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebList("fromDay").Select "29"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebList("toPort").Select "San Francisco"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebList("toMonth").Select "December"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebList("toDay").Select "31"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebRadioGroup("servClass").Select "Business"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("findFlights").Click 62,19
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Output CheckPoint("270")
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("findFlights").Click 54,7
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("passFirst0").Set "xiaxia"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("passLast0").Set "liu"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebCheckBox("ticketLess").Set "ON"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("creditnumber").Set "8888888888888888"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Check CheckPoint("New York")
wait(2)
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebTable("New York to San Francisco").Check CheckPoint("New York to San Francisco")
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("findFlights").Click 35,6
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("home").Click |
|