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.

use sahi for zul/java web application

chevalblancchevalblanc Members
edited November -1 in Sahi - Open Source
I use sahi for the first time and I need your help. I need to test a web application developed in JAVA and zul.
I record the tests I made on the web application from the controller sahi. Once testing is complete and I want to run my test file I get a failure with the names of components such as textbox, checkbox, image, link, button, etc.. I have to select the one by one from the controller to know their digital name and correct it in the test file .sah

I wonder if there is one other way to do faster because it is tedious. Thank you for your help.

Comments

  • Hi chevalblanc,

    It seems like, the components names are generated dynamically. It is advicable to use the index of the components like textbox(3) rather than textbox("textboxname") in your testcase.

    For web component inside another web component, you can use Positional Relational APIs like _in or _under APIs.

    Regards,
    Theeran.
  • chevalblancchevalblanc Members
    edited February 2012
    hi Theeran, thank you

    I have another problem, i test web application developed in JAVA and zul.

    Some time the index of components change, it is different during writing the script.

    what to do to solve this problem?

    thank you for your help
Sign In or Register to comment.