【QTP】自动化测试:

一、参数化:

1、随机数:

下面两个语句都可以:

Window("Flight Reservation").Dialog("Flights Table").WinList("From").Select RandomNumber(0, 100)

Window("Flight Reservation").Dialog("Flights Table").WinList("From").Select Selectltem

原文地址:https://www.cnblogs.com/jiangkeji/p/5166844.html