18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

File upload

kapilkapil Members
edited November -1 in Sahi - Open Source
hello sir/Mam,

I am kapil , using sahi . I am facing problems while using Sahi for website testing those are

1. while recording , file gets properly uploaded but during playback controller shows error message on that respective texbox that ' Please upload file" and because of this results in to failure.
2. In this file upload is mendatory. so we could not avoid.
3. some times in view log shows error message tht Type error: object is unidentified or null.
4. OR parameter error.

I am using IE 9 with VPN settings, windows 7, application development environment is C# .net
Is it neccessory to configure ADD-ons settings for this ?

I am eager to know solution for this.

Thank you,
Regards,

Kapil

Comments

  • SumitraSumitra Members
    Hi Kapil,

    Check if there is any validations in your application for uploading files.If so then file upload will not work.

    To overcome this you can refer:

    http://sahi.co.in/w/_setFile

    Regards
    Sumitra
  • kapilkapil Members
    Thanx , sumitra

    in the applacation there is validation on the file upload. ihad gone through that artical but not completely satisfied, so will you please explain what should i want to do?

    regards,
    kapil
This discussion has been closed.