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

Parents
  • 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

Reply
  • 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

Children
No Data