|
我用MERCURY自带的订票系统去练习,想取它的行数,但是不知道用什么函数取,请大家帮忙,那个网页我已经截图了,放在附件里。
这个是我写得:
itemcount = browser("Welcome: Mercury Tours").Page("Select a Flight: Mercury").WebRadioGroup("outFlight").GetROProperty("items count")
selectitem = randomnumber(1,itemcount)
browser("Welcome: Mercury Tours").Page("Select a Flight: Mercury").WebRadioGroup("outFlight").Select selectitem
QTP报:Cannot identify the specified item of the outFlight object. Confirm that the specified item is included in the object's item collection. |
|