Highlighted
New Member.
335 views

TruClient Web-Not able create Entry/Data when replayed through Action.c

I have recoreded the script using truclinet and replayed in the script editor.script is passed and created the entry in the my application.i saved the script and replayed in the action.c, the script is Passed but the entry is not created in the application.what might be the  issue.?there is no errors.Can you please help

 

IE vesrion-IE11

LR-12.55

 

0 Likes
3 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: TruClient Web-Not able create Entry/Data when replayed through Action.c

Hi,

It is impossible to determine what went wrong based on your description. Generally speaking, a script might replay successfully and still not perform what you wanted, it may happen if you do not add proper verifications and conditions in the script logic.

Please share more details about the steps in the script, about end events of the steps and about the validations you added to ensure the steps are executed only if the application is in the right state. 

Regards,

 Shlomi

0 Likes
Highlighted
New Member.

Re: TruClient Web-Not able create Entry/Data when replayed through Action.c

Hi,

I am new to LR, just learning now.these are the logs after replay.

Virtual User Script started at : 2018-03-29 12:43:33
TruClient Replay for LoadRunner 12.55.0, build 0911. OS: Windows 10, Browser: IE, initialized on 2018/03/29 at 12:43:29 (0000.000s)
Running Vuser...
Starting iteration 1.
t=00006011ms: ** 1: Navigate to "http://icleList_x.aspx" ** started    [MsgId: MMSG-205180]
t=00009122ms: ** 1: Navigate to http://epksr5002a/tmui/VehicleList_x.aspx ** successfully completed with end event 'Document Loaded'    [MsgId: MMSG-205180]
t=00009483ms: ** 2: Click on Add Vehicle button ** started    [MsgId: MMSG-205180]
t=00013281ms: ** 2: Click on Add Vehicle button ** successfully completed with end event 'Step synchronous network completed'    [MsgId: MMSG-205180]
t=00013322ms: ** 3: Create ** started    [MsgId: MMSG-205180]
t=00013860ms: ** 3.1: Type LR.getParam("Vehicle");  in Vehicle Code textbox ** started    [MsgId: MMSG-205180]
t=00018306ms: ** 3.1: Type Vehicle10 in Vehicle Code textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00018816ms: ** 3.2: Click on Vehicle Name textbox ** started    [MsgId: MMSG-205180]
t=00019185ms: ** 3.2: Click on Vehicle Name textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00019705ms: ** 3.3: Type LR.getParam("Vehicle"); in Vehicle Name textbox ** started    [MsgId: MMSG-205180]
t=00022841ms: ** 3.3: Type Vehicle10 in Vehicle Name textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00023367ms: ** 3.4: Select RT from Type listbox ** started    [MsgId: MMSG-205180]
t=00023596ms: ** 3.4: Select RT from  Type listbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00024109ms: ** 3.5: Select ALL from Type listbox ** started    [MsgId: MMSG-205180]
t=00024214ms: ** 3.5: Select ALL from Type listbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00024734ms: ** 3.6: Select Carr03 from Company listbox ** started    [MsgId: MMSG-205180]
t=00024895ms: ** 3.6: Select Carr03 from  Company listbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00025407ms: ** 3.7: Click on Number textbox ** started    [MsgId: MMSG-205180]
t=00025717ms: ** 3.7: Click on  Number textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00026232ms: ** 3.8: Type 123455 in  Number textbox ** started    [MsgId: MMSG-205180]
t=00028251ms: ** 3.8: Type 123455 in Number textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00028765ms: ** 3.9: Click on dd/MM/yyyy textbox ** started    [MsgId: MMSG-205180]
t=00029353ms: ** 3.9: Click on dd/MM/yyyy textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00029862ms: ** 3.10: Type 30/12/2018 in /  / textbox ** started    [MsgId: MMSG-205180]
t=00034338ms: ** 3.10: Type 30/12/2018 in /  / textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00034858ms: ** 3.12: Select TB from Loading Type listbox ** started    [MsgId: MMSG-205180]
t=00034978ms: ** 3.12: Select TB from Loading Type listbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00035499ms: ** 3.13: Click on  Weight textbox ** started    [MsgId: MMSG-205180]
t=00035844ms: ** 3.13: Click on  Weight textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00036357ms: ** 3.14: Type 450 in TR Weight textbox ** started    [MsgId: MMSG-205180]
t=00037574ms: ** 3.14: Type 450 in TR Weight textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00038103ms: ** 3.15: Click on Max. Allowable Weight textbox ** started    [MsgId: MMSG-205180]
t=00038401ms: ** 3.15: Click on Max. Allowable Weight textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00038920ms: ** 3.16: Type 800 in Max. Allowable Weight textbox ** started    [MsgId: MMSG-205180]
t=00040432ms: ** 3.16: Type 800 in Max. Allowable Weight textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00040950ms: ** 3.17: Select tonne from Unit for Weight listbox ** started    [MsgId: MMSG-205180]
t=00041094ms: ** 3.17: Select tonne from Unit for Weight listbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00041614ms: ** 3.18: Click on No. of Comp textbox ** started    [MsgId: MMSG-205180]
t=00041930ms: ** 3.18: Click on No. of Comp textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00042448ms: ** 3.19: Type 2 in No. of Comp textbox ** started    [MsgId: MMSG-205180]
t=00043047ms: ** 3.19: Type 2 in No. of Comp textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00043559ms: ** 3.20: Click on Create button ** started    [MsgId: MMSG-205180]
t=00046992ms: ** 3.20: Click on Create button ** successfully completed with end event 'Document Loaded'    [MsgId: MMSG-205180]
t=00046994ms: ** 3: Create ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00047244ms: ** 6: Click on 0 gridcell ** started    [MsgId: MMSG-205180]
t=00047719ms: ** 6: Click on 0 gridcell ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00048233ms: ** 7: Type 1000 in 0 textbox ** started    [MsgId: MMSG-205180]
t=00050478ms: ** 7: Type 1000 in 0 textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00050988ms: ** 8: Click on gridcell (1) gridcell ** started    [MsgId: MMSG-205180]
t=00051497ms: ** 8: Click on gridcell (1) gridcell ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00052018ms: ** 9: Type l in bbl textbox ** started    [MsgId: MMSG-205180]
t=00052829ms: ** 9: Type l in bbl textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00053339ms: ** 10: Move mouse over kg listitem ** started    [MsgId: MMSG-205180]
t=00053649ms: ** 10: Move mouse over kg listitem ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00054173ms: ** 11: Click on L JavaScript link ** started    [MsgId: MMSG-205180]
t=00054513ms: ** 11: Click on L JavaScript link ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00055031ms: ** 13: Click on 0 gridcell ** started    [MsgId: MMSG-205180]
t=00055369ms: ** 13: Click on 0 gridcell ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00055894ms: ** 14: Type 1000 in 0 textbox ** started    [MsgId: MMSG-205180]
t=00058042ms: ** 14: Type 1000 in 0 textbox ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
t=00058550ms: ** 16: Click on Save button ** started    [MsgId: MMSG-205180]
t=00058867ms: ** 16: Click on Save button ** successfully completed with end event 'Action completed'    [MsgId: MMSG-205180]
Ending iteration 1.
Ending Vuser...
Vuser Terminated.

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: TruClient Web-Not able create Entry/Data when replayed through Action.c

Hi,

Please add a validation step after the last save action. Look for an object in the application UI that indicates that the save was successful.

In addition, try to run the script using Chromium as well. It be an issue with TruClient IE.

Regards,

Shlomi

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.