0
我是HP Load Runner的新手。我正在使用Load Runner 12.5來測試一個Web應用程序。無法在加載運行器中記錄複選框12.5
在使用HTTP協議的記錄:
我點擊註冊鏈接
有一個複選框 「我接受」。我選中了複選框。
當我查看我的腳本:
我看到生成的註冊鏈接步驟。
但腳本未生成複選框步驟。
至於錄製選項,我嘗試了General> Recording下的所有選項:HTML和URL。
當我在檢查鉻的複選框,我看到下面的代碼:
<div class="form-group checkbox">
<input type="checkbox" name="TermsAndConditionsAccepted" value="True" id="TermsAndConditionsAccepted" data-val-truerequired="You must accept the.." data-val-required="The TermsAndConditionsAccepted field is required." data-val-required-allowempty="false" data-val="true">
<label class="control-label" for="TermsAndConditionsAccepted">I agree to the above Terms and Conditions</label>
<span class="field-validation-valid help-block" data-valmsg-for="TermsAndConditions" data-valmsg-replace="true"></span>
</div>
負載澆道產生的下面的腳本。正如你所看到的註冊鏈接是最後一步,但我沒有看到複選框的一步。請告訴我如何解決它。
web_url("example.com",
"URL=example.com/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
);
lr_think_time(15);
web_link("Register",
"Text=Register",
"Snapshot=t2.inf",
EXTRARES,
"Url=../signalr/negotiate?clientProtocol=1.5&connectionData=%5B%7B%22name%22%3A%22usersessionhub%22%7D%5D&_=1500044401633", ENDITEM,
LAST);
return 0;