|
LR自带的飞机订票,录制完毕后如下:
1.如果选择不同的城市,则飞机票的班号,价格等就不一样!
因此要建立关联!
我建立关联的句子如下:
web_reg_save_param("value1","LB=outboundFlight=","RB=%",LAST);
web_reg_save_param("value2","LB=%3B","RB=%3B09%2F18%2F2008&returnFlight",LAST);
web_reg_save_param("value3","LB=returnFlight=","RB=%",LAST);
web_reg_save_param("value4","LB=%3B","RB=%3B09%2F19%2F2008&numPa",LAST);
需要做关联的是: VALUE1,VALUE2.等等已经代替掉了!
"Name=outboundFlight", "Value=261;757;09/18/2008", ENDITEM, /*这个地方我使用value1代替261,value2代替757,下面的已经替换了!
"Name=returnFlight", "Value={value3};{value4};09/19/2008", ENDITEM,
tree里面看到的代码是:
"outboundFlight=261%3B757%3B09%2F18%2F2008&returnFlight=621%3B757%3B09%2F19%2F2008&numPas
这个是显示来回的机票价格信息,我已经参数化了城市,所以当城市变化的时候,这个也要变化,所以想使用参数!请教如何使用呢?我这样运行会出错! |
|