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.

Ext-JS Element

Azhaguvel.AAzhaguvel.A Members
edited November -1 in Sahi - Open Source
Hi All,

Is SAHI possible to access Ext-JS component like panel,image and etc...?

Regards,
Azhaguvel.A

Comments

  • Hi Azhaguvel.A,

    Yes, Sahi does identify Ext-JS Components liek panel, image and etc... .

    Since Sahi uses javascript inside the browser, it works with pretty much any web technology.

    Let me know if you face any problem working with Ext-JS element.

    Regards
    Sumitra
  • Hi Sumitra,

    Yes, When I access Ext-JS component through SAHI - API, It will take some extra time to access Ext-JS component.

    Let me know Why?

    Regards & Thanks,
    Azhaguvel.A
  • Hi Azhaguvel.Z,

    There is a possiblity that there is an AJAX request in you application which is making Sahi to take some extra time to access the Ext-JS component.

    Can you check if there is any AJAX request?

    Regards
    Sumitra
  • Hi Sumitra,

    Yes, It has. How to solve this?

    Thanks,
    Azhaguvel.A
  • Hi Azhaguvel.A,

    Sahi waits on AJAX requests to make sure they are complete, before proceeding with playback. Some sites keep some AJAX requests open so that they can continuously poll for data. This causes Sahi to indefinitely wait for those requests to complete.

    To fix this:
    1) Open sahi/userdata/config/userdata.properties
    2) Add (or edit)
    xhr.wait_ready_states=2,3
    3) Save the file, and restart Sahi

    Also, have a look at this link:

    http://sahi.co.in/w/trouble-shooting-sahi

    Check if this solves this issue.

    Regards
    Sumitra
  • Hi Sumitra,

    Now, It's working fine.

    Thanks,
    Azhaguvel.A
This discussion has been closed.