This is a migrated thread and some comments may be shown as answers.

Script failing at selecting data from knedo list box

1 Answer 75 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pranavi
Top achievements
Rank 1
Pranavi asked on 29 Jun 2017, 05:46 AM

Hello,

 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

Sort by
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! 

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Pranavi
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or