Ask a Question

Stuck on playback

4m4d3u5
Contributor

Stuck on playback

I have a slider that when it is enabled a password window opens up so that the user can enter a password. However, when I test this out when the slider is moved to enabled and the window opens testcomplete just stalls and sits in a playback state and will no do anything. I went into the test projects properties and went into playback and checked Ignore unexpected window but that did not fix the problem. I am using javascript. Does anyone have any suggestions on how to fix this?

3 REPLIES 3
Marsha_R
Community Hero

Try recording a test that does the same thing and look at the difference between that code and yours.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

I don't have any other test that do this. 

Use the record and playback function to step through exactly the same test manually.  Then right-click on the test and convert it to Javascript.  You can then compare the code that TestComplete created to what you have and see what the difference is.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: