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.

how Object Spy is working

lshankar_mcalshankar_mca Members
edited November -1 in Sahi - Open Source
Hi Narayan,

I am working on Sahi from the past one year. Previously i was worked on Selenium for 2 years.
I am very much impressed with Sahi object spy. It's really great. In selenium its difficult to identify the dynamic links under the table using XPath. In Sahi its very simple to identify the dynamic links using near and under api. I am really impressed with Sahi.

Now i want to know how sahi object spy is functioning. How automatically its indexing objects which are having the same name or ID.

Can you please explain me.

Regards,
Shankar L

Comments

  • Hi Narayan,


    Please explain me How Object Spy working?


    Regards,
    Shankar L
  • Hi Ishankar_mca,

    Sahi uses javascript events to pinpoint a DOM element. Sahi then does some processing to intelligently identify it. This is all done on the browser (using javascript).

    Hope this would be helpful to understand how object spy works with Sahi.

    Regards
    Sumitra
Sign In or Register to comment.