Thursday 6 June 2013

Ajax TruClient Protocol in Load Runner

To disable the popups from appearing:I tried a workaround with Loadrunner Ajax Click ans script Protocol to execute in Controller with out Ajax Click n Script License

Record a script with Ajax ClicknScript protocol. Then go to .usr file edit with notepad. You see below information No need to buy New Protocola license. 

[General]
Type=WebAjax
RecordedProtocol=WebAjax
DefaultCfg=default.cfg
AppName=
BuildTarget=
ParamRightBrace=}
ParamLeftBrace={
NewFunctionHeader=1
LastActiveAction=Action
CorrInfoReportDir=
LastResultDir=
DevelopTool=Vugen

Change the highlighted items in the above to below highlighted text. Then you can run your script successfully in the controller.

[General]
Type=Multi
AdditionalTypes=QTWeb
ActiveTypes=QTWeb
GenerateTypes=QTWeb
RecordedProtocols=
DefaultCfg=default.cfg
AppName=
BuildTarget=
ParamRightBrace=}
ParamLeftBrace={
NewFunctionHeader=1
LastActiveAction=vuser_init
  1. In the url address field in Firefox, enter about:config.
  2. Click the I’ll be careful, I promise! button.
  3. In the Filter field, enter disable_open_during_load.
  4. Right click disable_open_during_load and select Toggle. This changes the value to false.
  5. Try to record the initial navigation step again.

No comments: