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.
Extjs Listbox issue
Hi,
I am trying to automate an extjs application and when I am selecting the value from a list box its generating the statement as _click(_div("High")); and when I run its not running. Upon inspection I found the same element is shown as _click(_div("High[1]")); and some times as _click(_div("High[2]")); and so on. Even regular expression did not work. Is there any other way I could resolve this extjs listbox issues.
This is a major block for me to continue. pls help.
kaushik
I am trying to automate an extjs application and when I am selecting the value from a list box its generating the statement as _click(_div("High")); and when I run its not running. Upon inspection I found the same element is shown as _click(_div("High[1]")); and some times as _click(_div("High[2]")); and so on. Even regular expression did not work. Is there any other way I could resolve this extjs listbox issues.
This is a major block for me to continue. pls help.
kaushik
Comments
See if you can use a _near or _in API to specify a context for the element to click.
For example, it could be
_click(_div("High", _near(_div("Some Label"))));
Regards,
Narayan
I tried that, but did now work. Now I have made the script to work using XPath. But I dont want to use xpath ( had bitter experience using that in selenium). Is there any other way to resolve my problem.
Regards,
Narayan