This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

File upload not working when windows are not open

HI ,

I'm trying to run a script where we upload the file . If i run the script locally i'm able to upload the file. If i run the same script from jenkins, the script fails to identify object.

com.hp.lft.sdk.ReplayObjectNotFoundException: Cannot identify the object "Web FileField".
Verify that this object's properties match an object currently displayed in your application.

 

However, if i open the Jenkins slave like RDP and then run the same test it is able to upload the file.

 

I tried this on Leanft 15.01, windows 10, chrome and firefox browsers.

Thanks,

Sreeram

  • 0  

    Hi,

    When you are working with a computer in which no RDP is connected to it, the windows sometimes behaves differently as it recognizes the fact that no session is connected. This may cause to issues in UI rendering as well as what you mentioned.

    In order to overcome it, I suggest following the instructions in this section and use the "Disconnected RDP" capability of the engine.

    Hope this will help,

    Dror

     

  • 0 in reply to   

    I had tried to enable the Allow computer to connect on disconnected RDP by giving username and password, but still the test is failing to upload few times and works few times

  • 0

    Hello everyone, in my browsers when i try to upload a file it opens the file explorer and then says not working and the browser also stops working and i have to use task manager to shut it down. I tried restarting, how do i fix this?

    By the way this happened with both Edge Firefox and Chrome so its probably the computer that's wrong.

    Update your drivers and BIOS/UEFI firmware from PC or motherboard maker's Support Downloads web page, using the full model number, Serial Number or Dell Service Tag on sticker. Compare the latest drivers available for download with the ones presently installed in Device Manager reached by right clicking the Start button. Make sure you have the latest BIOS or UEFI firmware, Chipset, Display (Video), Sound, USB3, Bluetooth, Network and all other drivers, or else download and install the latest now.

    Updating drivers from the Device Manager or Windows Update is rarely enough. The most basic thing we need to learn to maintain a PC is keep the latest manufacturer's drivers installed from their Support Downloads web page .