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.
Not Able To set Values for auto complete in grid
I am trying to set value for field in grid which is auto complete,
For 1st row value sets perfectly but from 2nd row same value not sets.
_popup("VLP")._click(_row("1"));
_popup("VLP")._setValue(_textbox("VendorName[1]"), "Shruti Art Pvt");
_popup("VLP")._click(_listItem("Shruti Art Pvt. Ltd"));
_popup("VLP")._click(_row("2"));
_popup("VLP")._setValue(_textbox("VendorName[1]"), "Shruti Art Pvt");
_popup("VLP")._click(_listItem("Shruti Art Pvt. Ltd"));
pls. suggest
For 1st row value sets perfectly but from 2nd row same value not sets.
_popup("VLP")._click(_row("1"));
_popup("VLP")._setValue(_textbox("VendorName[1]"), "Shruti Art Pvt");
_popup("VLP")._click(_listItem("Shruti Art Pvt. Ltd"));
_popup("VLP")._click(_row("2"));
_popup("VLP")._setValue(_textbox("VendorName[1]"), "Shruti Art Pvt");
_popup("VLP")._click(_listItem("Shruti Art Pvt. Ltd"));
pls. suggest
Comments
I doubt there is a _textbox("VendorName[1]" in the second row
change your script to this: