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.

Problem while using SAHI for my Application

VivekVivek Members
edited November -1 in Sahi - Open Source
Hi,

Im using SAHI web automation testing tool to test my web application. I have done all the installations mentioned.

Now im facing a problem, My application uses login name and password, and checks with database,

Below is the script generated,
_setValue(_textbox("username"), "admin");
_setValue(_password("password"), "admin");
_click(_link("Login"));

here its stopping at first line. saying

Starting script
_setValue(_textbox("username"), "admin"); Error:
No trace available
Stopping script

Im unable to use the tool.... Please help !!!

Thanks in Advance....

Comments

  • Hi,

    This part of your script seems allright. The problem may be in some other part of the script. Check the syntax of rest of your script also.

    Regards,
    Pankaj.
  • VivekVivek Members
    what do mean by some other part of the script ??? or syntax of rest of your script also ??
    Can u please tell me, u r talking about which scripts ??
  • Is the code provided complete or is it a part of some longer script. I meant that if it is a part of some longer script then check the rest of the script for syntax.

    Pankaj.
  • VivekVivek Members
    what ever we previded that is only complete script ... n its not working ... I m not able to replay it ...
  • I'm guessing the textboxes have different IDs or names than what is indicated in the script.
  • rksrks Members
    Since sahi deals with a script (one that you are trying to replay) and a corresponding html page, hence in order to get help I guess it would be better to post your script as well as the html source of corresponding page.
Sign In or Register to comment.