Error when upload an apk file to UFT mobile using jenkins plugin


Is there anybody who has resolved this issue?

apk file uploading to UFT mobile throws a file not found  error though the file exists in the path. 

[EnvInject] - Loading node environment variables.
Building remotely on flutter in workspace c:\jenkins\workspace\apk_upload
There are 1 apps to be uploaded.
starting to upload app 1 c:\jenkins\workspace\apk_upload\app-debug.apk
Failed to upload app to UFT Mobile server. Cause: File: c:\jenkins\workspace\apk_upload\app-debug.apk is not found.
Build step 'Upload app to UFT Mobile Server' changed build result to FAILURE
Build step 'Upload app to UFT Mobile Server' marked build as failure
Finished: FAILURE

I have installed "Micro Focus Application Automation Tools" version 6.4 & UFT mobile 3.4.


  • Hi,

    Is it possible for you to provide us the apk so we can reproduce this issue in our labs and further investigate? I will be best if you can open a support case for this issue so we can track the investigation there.

    Also we have released UFTM 3.5 last week, can you please install it and see if this resolved your issue?



  • I can confirm this for UFT 14.50 on Jenkins 2.190.3 with Micro Focus Application Automation Tools 5.9.

    No matter if the job is started by timer or manually, it will fail if an RDP session is disconnected. Now through this method, you can upload apk files like lulubox apk

    The output will be:

    Run build tests
    Launcher timeout is 10675199::02:48:05
    Controller Polling Interval: 30 seconds
    PerScenarioTimeout: 00::00:10:00 minutes
    FileSystemTestRunner timeout is 10675199.02:48:05.4775807
    UFT Mobile connection info is - UFT Mobile HostAddress: , Port: 8080, Username: , TenantId: , UseSSL: 0, UseProxy: 0, ProxyType: 0, ProxyAddress: , ProxyPort: 0, ProxyAuth: 0, ProxyUser: 
    Results directory is: C:/Projects/UFT_Results
    1 tests found:
    C:\Program Files (x86)\Jenkins\workspace\UFT_Project\12.02
    26-11-2019 07:37:14 Running: C:\Program Files (x86)\Jenkins\workspace\UFT_Project\12.02
    Test result: Error
    26-11-2019 07:37:14 Test complete: C:\Program Files (x86)\Jenkins\workspace\UFT_Project\12.02
    Run status: Job failed, total tests: 1, succeeded: 0, failures: 0, errors: 1, warnings: 0
    Error  : C:\Program Files (x86)\Jenkins\workspace\UFT_Project\12.02
    Build step 'Execute Micro Focus tests from file system' changed build result to FAILURE
    Recording test results
    Report archiving mode is set to: ALWAYS_ARCHIVE_TEST_REPORT
    artifactsDir: archive C:\Program Files (x86)\Jenkins\jobs\UFT_Project\builds\58\archive
    Finished: FAILURE