Am testing kendo angular application.In this application create script for adding customer to kendo grid. my script is failing at selecting item from keno list box.can you please guide me.
Please find the attachment log file.
Thanks,
Pranavi
1 Answer, 1 is accepted
0
Elena
Telerik team
answered on 03 Jul 2017, 12:51 PM
Hello Pranavi,
Thank you for reaching us out and sharing details.
I reviewed the execution log and noticed the failure is because the dropdown was not found with the used find expression but was found with the backup search. Therefore I guess the id is dynamically generated and should not be used in the find expression. Please modify the find expression to use static and unique set of the element's properties.
Since the Angular applications usually have plenty of dynamically generated data I suspect the id is such. Please verify if this is so and let me know if my suggestion was not correct. You could also try inserting an execution delay before the failing step.
Another approach which might be helpful in this scenario might be the chained find expression. It could be helpful depending on the application structure.
Please let me know if you would need further assistance. Thanks!