Forum Discussion

ozurovich's avatar
ozurovich
Occasional Contributor
14 years ago

Help with debugging recorded tests

I'm trying to use Debug with recorded keyword tests.   I set a breakpoint and playback a test, but after the breakpoint is reached and the playback pauses, I'm unable to resume the playback.   All of the buttons on the toolbar are greyed-out so I don't know how to continue the playback.



I'm also trying to figure out how to add to an existing keyword test.   I'm able to "append to the end" of a test, but I'm trying to figure out how to "append in the middle of a test".  I was thinking that I would set a breakpoint to have the test pause at that point, then record some keystrokes, then end the recording when I'm done.   Is this the best way to add keystrokes to the middle of an existing test?



Thanks

2 Replies

  • The toolbar just below the menu toolbar on the top should be enabled. There are buttons to continue, stop the execution as well as Step Into, Step Over on the current line. You can check the help documention for Debug menu for more information.


    I'm not sure what version you're using, but in 8.2 there's a button to 'Append to Test'. Do you have this button? Just highlight the line you want to append from and press that button.


    Also when debugging, the test is still running so you will not be able to modify it until the test has stopped. What you could do is set the breakpoint, then stop the test once it reaches the breakpoint. And record from that position.


    Cheers,

    Jackson