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

Script is failing after "Modal Pop-up" is closed, it fails to verify next element

1 Answer 29 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shobhit
Top achievements
Rank 1
Shobhit asked on 31 Jul 2014, 11:21 PM
I ran this script more than 50 times and 2-3 times I was able to run this script error free.  But most of the times it fails at step #12 where is supposed to verify an element after Modal pop-up is closed.  Attached zip contains error log . I tried "wait", increased wait time, added tilde to frame but still it's failing. I noticed that after modal pop closes, the browser kind a refreshes and the text field that I filled in would get empty so I change the order of script. Before I used to fill out all text field then add primary contact (modal pop-up opens - then closes) but I noticed that browser is deleting data so I tried switching it. see attachment.

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 05 Aug 2014, 04:56 PM
Hello Shobhit,

You already tried adding some execution delay? Where did you add the delay, and how much wait time did you try? Pretty obviously it should be between step 34, the Close Modal Popup step, and step 12, the Verify element is visible step. I would try 5000 milliseconds.

Another thing to try is to insert a Wait For Exists for the OrganizationTableCell element.

If neither of those helps, would it be possible for us to get direct access to the application you are testing? That way we can examine the problem, diagnose the root cause and give you a solution to this problem.


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