TruClient controller issue (errorCode -2146697211) - SAP Fiori

General Information
=================
LoadRunner: 12.50
Protocol: TrueClient Web
IE: 11
Wondows 7 Enterprise
Application: SAP Fiori

Question:
============
Why is the script working when I run it direct in VuGen but not, when I start the VuGen from controller?

Issue description:
=================
1. Open VuGen -> Replay: 0k -> Develop Script & Replay: ok
2. Open Controller -> View Script -> Replay (F5): failed
Starting iteration 1.
Starting action Action.
t=00001830ms: ** 2:  Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** started    [MsgId: MMSG-205180]
t=00002361ms: ** 2.1: Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** started    [MsgId: MMSG-205180]
t=00002514ms: Navigate failed on url http://FioriGateway.company.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=100&sap-language=EN# with errorCode = -2146697211    [MsgId: MMSG-205180]
t=00182502ms: Error -205177: ** 2.1: Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** timed out       Snapshot Info [MSH 1 0]    [MsgId: MERR-205177]
t=00182526ms: ** 2:  Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** was aborted due to an error in a child step    [MsgId: MMSG-205180]
Ending action Action.
Ending iteration 1.

Open VuGen direct - Replay passed:
===============================
Starting iteration 1.
Starting action Action.
t=00001665ms: ** 1:  Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** started    [MsgId: MMSG-205180]
t=00002187ms: ** 1.1: Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** started    [MsgId: MMSG-205180]
t=00002498ms: ** 1.1: Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** successfully completed    [MsgId: MMSG-205180]
t=00003012ms: ** 1.2: Enter credentials in authentication dialog ** started    [MsgId: MMSG-205180]
t=00003297ms: ** 1.2: Enter credentials in authentication dialog ** successfully completed    [MsgId: MMSG-205180]
t=00003575ms: ** 1:  Navigate to "http://thegwq00.pvhcorp...ap-language=EN#" ** successfully completed    [MsgId: MMSG-205180]
Notify: Transaction "tr01_Login" started.
t=00003617ms: ** 2: Log On ** started    [MsgId: MMSG-205180]
t=00004136ms: ** 2.1: Type LR.getParam("user");  in User textbox ** started    [MsgId: MMSG-205180]
t=00007562ms: ** 2.1: Type FIORI066 in User textbox ** successfully completed    [MsgId: MMSG-205180]
t=00008075ms: ** 2.2: Click on Password passwordbox ** started    [MsgId: MMSG-205180]
t=00008319ms: ** 2.2: Click on Password passwordbox ** successfully completed    [MsgId: MMSG-205180]
t=00008831ms: ** 2.3: Type ****************... in Password passwordbox ** started    [MsgId: MMSG-205180]
t=00012971ms: ** 2.3: Type ********* in Password passwordbox ** successfully completed    [MsgId: MMSG-205180]
t=00013482ms: ** 2.4: Click on Log On button ** started    [MsgId: MMSG-205180]
t=00013921ms: ** 2.4: Click on Log On button ** successfully completed    [MsgId: MMSG-205180]
t=00013951ms: ** 2: Log On ** successfully completed    [MsgId: MMSG-205180]
Notify: Transaction "tr01_Login" ended with a "Pass" status (Duration: 10.3440 Wasted Time: 2.9130).
Notify: Transaction "tr02_ReceiveProducts" started.
t=00014598ms: ** 3: Click on Receive Products PVH... ** started    [MsgId: MMSG-205180]
t=00017463ms: ** 3: Click on Receive Products PVH... ** successfully completed    [MsgId: MMSG-205180]
Notify: Transaction "tr02_ReceiveProducts" ended with a "Pass" status (Duration: 2.8680 Wasted Time: 0.2050).
Notify: Transaction "tr03_EnterDocumentID" started.
t=00017984ms: ** 7: Click on Enter ID button ** started    [MsgId: MMSG-205180]
t=00018463ms: ** 7: Click on Enter ID button ** successfully completed    [MsgId: MMSG-205180]
t=00018983ms: ** 9: Type LR.getParam("documentid");  in Enter document or product... searchbox ** started    [MsgId: MMSG-205180]
t=00022828ms: ** 9: Type 0080000386 in Enter document or product... searchbox ** successfully completed    [MsgId: MMSG-205180]
t=00023340ms: ** 11: Click on OK button ** started    [MsgId: MMSG-205180]
t=00024032ms: ** 11: Click on OK button ** successfully completed    [MsgId: MMSG-205180]
Notify: Transaction "tr03_EnterDocumentID" ended with a "Pass" status (Duration: 6.0570 Wasted Time: 1.6440).
t=00024044ms: ** 13: Verify Document's "Visible Text" Contain Document ** started    [MsgId: MMSG-205180]
t=00024314ms: ** 13: Verify Document's "Visible Text" Contain Document ** successfully completed    [MsgId: MMSG-205180]
Notify: Transaction "tr04_BackAndLogout" started.
t=00024824ms: ** 14: Click on Back button ** started    [MsgId: MMSG-205180]
t=00025391ms: ** 14: Click on Back button ** successfully completed    [MsgId: MMSG-205180]
t=00025902ms: ** 15: Click on ?FIORI066 FIORI066 javascript_link ** started    [MsgId: MMSG-205180]
t=00026302ms: ** 15: Click on ?FIORI066 FIORI066 javascript_link ** successfully completed    [MsgId: MMSG-205180]
t=00026818ms: ** 17: Click on Log Out button ** started    [MsgId: MMSG-205180]
t=00027058ms: ** 17: Click on Log Out button ** successfully completed    [MsgId: MMSG-205180]
t=00027569ms: ** 18: Click on OK button ** started    [MsgId: MMSG-205180]
t=00028368ms: ** 18: Click on OK button ** successfully completed    [MsgId: MMSG-205180]
Notify: Transaction "tr04_BackAndLogout" ended with a "Pass" status (Duration: 3.5530 Wasted Time: 2.1510).
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action End.
Ending action End.
Vuser Terminated.

 

Kind regards,

Sabine

Parents
  • Hi Sabine,

    I suggest 2 things:

    • on which browser did you record the script? is it the same browser that is selected when you open Vugen from Controller? if not, try matching the browser types and see if it helps
    • this may be related to permissions. Try opening controller with administrative privileges and see if it helps

    Hope this helps,

    Lior

Reply
  • Hi Sabine,

    I suggest 2 things:

    • on which browser did you record the script? is it the same browser that is selected when you open Vugen from Controller? if not, try matching the browser types and see if it helps
    • this may be related to permissions. Try opening controller with administrative privileges and see if it helps

    Hope this helps,

    Lior

Children
No Data