question

ugobale avatar image
ugobale asked ugobale answered

Itest Ver 414 learn this prompt message after ssh session captured

I captured the following commands ssh admin72.16.11.195, passwd, Y, config interface ec 2/1/ES1 state down, config interface ec 2/1/ES2 state down, show interface ec 2/1/ES1, show interface ec 2/1/ES1, logout, but after i run the test case resulted by the capture I faced the 'learn this prompt' message. Anybody faced similar issue ?, Thanks in advance Ugo
iTestsshsessioncapture
10 |950

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

nagesh_gm avatar image
nagesh_gm answered
During test case execution, if the channel becomes idle and the text on the line is not a defined prompt, then the status bar presents a Learn this prompt link. When you click the link, the Learn Prompt dialog box enables you to tell Spirent iTest that the text is a prompt. ![alt text][1] [1]: /storage/temp/3454-prompts_27_05_1.jpg If you click OK to identify the text as a prompt, then the test case result is unchanged and execution continues immediately with the next step and you will not face this Learn Prompt dialog box next time for that particular prompt.

prompts_27_05_1.jpg (21.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.

ugobale avatar image
ugobale answered
thanks but I tried several times and nothing change
10 |950

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

ugobale avatar image
ugobale answered
thanks but I obtained the same behaviour, no possibility to save the prompt
10 |950

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

madhuri avatar image
madhuri answered madhuri edited
Once we click OK on "Learn this prompt" dialog box, the selected prompt will be learned. After the completion of the execution of captured steps, a "Update session profile wizard" will pop-up immediately asking to add the learned new prompts in the session profile. Click on Finish. And the saved prompts you see under session properties->More->Prompts in the session profile. ![alt text][1] ![alt text][2] Could you please check whether the learned prompts saved in your session profile or not. [1]: /storage/temp/3455-prompt_wizard.png [2]: /storage/temp/3456-prompts.png

prompt_wizard.png (57.6 KiB)
prompts.png (19.8 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.

ugobale avatar image
ugobale answered
unfortunately this wizard is not pop up on my screen my license cover the following items : Configuration Enterprise Automatic response map.. Chat xmpp Command prompt http job skeduling Mail Process SSH Serial Port Spirent samrtbits,testcenter gui e NTAF Tcl shell telnet
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.