【发布时间】:2015-04-16 04:53:13
【问题描述】:
我是 scala 语言的新手。我想知道的是我需要从下拉列表中选择一个值。这里发生的情况如下所示。
<input id="categoryDid" class=" x-form-text x-form-field print_underline x-form-empty-field x-trigger-noedit" type="text" name="category" autocomplete="off" size="24" tabindex="1" readonly="" style="width: 132px;"> drop down data some where else. <div id="ext-gen274" class="x-combo-list-inner" style="width: 148px; margin-bottom: 8px; height: 63px;">
在下面的其他地方下拉数据。
<div id="ext-gen274" class="x-combo-list-inner" style="width: 148px; margin-bottom: 8px; height: 63px;">
<div class="x-combo-list-item">--Select--</div>
<div class="x-combo-list-item">Mobile Phone</div>
<div class="x-combo-list-item x-combo-selected">Tablet</div>
</div>
我正在使用 gatling / scala 组合。现在我需要选择的是“手机”。我使用了formParam("categoryDid", "Mobile Phone"),但似乎这不起作用。
有人可以帮忙吗?
【问题讨论】: