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 do i get the textboxname if it is appearing in the form as dynamic

GeorgeGeorge Members
edited November -1 in Sahi - Open Source
Build: 2011-07-19
Browser : mozilla 7.0.1
OS : Windows 7

1) How do i get the textboxname if it is appearing in the form as dynamic value?

for example :
_setValue(_textbox("$txtListName1"), "Test Name");

when i run the script for the second time the $txtListName will become $txtListName2 or $txtListName3 which i can't predict. so how do i mention that in my script?



2) and ... in my Build: 2011-07-19 version of sahi.. i cannot Reset the line numbers & restart from a line number where the script failure happened. for ex: if the script failed for a particular reason at 23 rd line.. and when i reset Next Step as 23 and Play.. it starts from line number/step 1.
why?


George
Sign In or Register to comment.