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

Count is always 0 on the test, but pausing I can find the elements

2 Answers 32 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 16 Jul 2018, 06:15 PM

I've wasted like 3 hours on this today and I can't figure it out....

https://www.screencast.com/t/fn11cTUl

This step of the test is to basically wait to see if the angular ajax call pulls in the users, if it does, count to make sure... but it's always 0

Doesn't matter if the Timeout is set to 10s, 20s... it always fails at this step.

Thoughts?  Please help

Steve

2 Answers, 1 is accepted

Sort by
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 16 Jul 2018, 06:24 PM
*edit* Finally got it... Angular was adding ng-scope so the expression needed to be =~ not just =
0
Elena
Telerik team
answered on 17 Jul 2018, 03:18 PM
Hi Steve,

Thanks for getting back to us! As far as I understand you have found the solution on your end and I am glad to hear that. Though, in case of any questions, please let me know! 

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
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Elena
Telerik team
Share this question
or