18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
looking for black-box type framework/program/script
hi team,
We are looking for a black-box type framework/program/script add-on/etc. that will
1) generate different kinds of data depending on input type
2) input/insert it into a web form,
3) hit SUBMIT,
4) and test whether the correct response occurred.
This comprehensive program should test a wide variety of possible user inputs, so we can verify that the form is accepting or rejecting the inputs in accordance with program specifications.
For example, the program could verify that an error occurs when:
• a number is input into a field that is supposed to be text
• a required field is left blank
• a SQL injection is present
Would Sahi fit the above requirement?
Thanks
We are looking for a black-box type framework/program/script add-on/etc. that will
1) generate different kinds of data depending on input type
2) input/insert it into a web form,
3) hit SUBMIT,
4) and test whether the correct response occurred.
This comprehensive program should test a wide variety of possible user inputs, so we can verify that the form is accepting or rejecting the inputs in accordance with program specifications.
For example, the program could verify that an error occurs when:
• a number is input into a field that is supposed to be text
• a required field is left blank
• a SQL injection is present
Would Sahi fit the above requirement?
Thanks
Comments
When a wrong input is generating some kind of error message (you will need an DOM element which definitely only existst when a wrong input is provided) then you can do an assert on the element. Sample code:
Does this help you?
Regards
Wormi