question

AdeelM avatar image
AdeelM asked Spirent_Admin edited

"reload" command hangs with "Waiting for prompt ..."

The "reload" command takes anywhere from 2 min to 10 min. When it completes there is no prompt. Instead the CLI looks like this: ... ... ... Press RETURN to get started! <-- cursor at this point waiting for user to press "return" Since there is no prompt, iTest gets stuck here waiting for a prompt. How do I configure my test case to identify that the "reload" has finished and send "\r\n" to get the prompt?
iTestprompt
reload.jpg (105.4 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Spirent_Admin avatar image
Spirent_Admin answered Spirent_Admin edited
Basically, user needs to tell iTest that when it sees "Press RETURN to get started!" then the response has completed. User needs to update a couple of step properties. 1. Learn "Press RETURN to get started!" as a prompt. 2. Need to update completion property to look for prompt in the "Last non-empty line". As you can see in the screenshot below, step 8 is the very next step that executes when reload completes. The blank description means that there is no command to send, however, iTest sends only the termination character which by default is "rn". ![alt text][1] [1]: /storage/attachments/1588-reload.jpg
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.