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.
cannot get the nearest 'label' with _near function
I am writing some sample code using this web page - http://demos.dojotoolkit.org/demos/form/demo.html .
What I want to do is to find the nearest label for a textbox. For example, I run '_label(0,_near(_textbox("address")))' in the Sahi Controller. I expected the label with text 'Address *' is located but now 'Name *' is located.
Is this a defect? (I am using latest 3.5 OS version and Firefox 3.6.28 -- actually Chrome has same issue)
What I want to do is to find the nearest label for a textbox. For example, I run '_label(0,_near(_textbox("address")))' in the Sahi Controller. I expected the label with text 'Address *' is located but now 'Name *' is located.
Is this a defect? (I am using latest 3.5 OS version and Firefox 3.6.28 -- actually Chrome has same issue)