06-07-2013 7:49 AM
Hi Buddies,
Currently m working in ecatt sapgui. and now facing issue while i am getting error or warning message. so i have to click enter key wheneever i am having warning messages. so please help me to handle this issue to click enter key in ecatt sapgui script.
Thanks in advance,
Mohamed.
06-10-2013 5:08 PM
You need to include the enter key into your recording. And if the Warning is with a popup window you should make it optional.
06-11-2013 5:47 AM
Hi,
Thanks for your above comment,
1. Please let us know how to increment the do loop when script is in running mode.
2. but you are telling about the warning messages that are initially recorded one, but i need the answer for the "enter" key script for handling the warning messages which are not recorded and exists while running the scrips. please help to solve this issue.
Khajini
06-14-2013 11:48 PM
The simplest and most common way in that case is to record warnings or press the enter key in advance. Depending on your recording options you need to split the script and insert a recording of the enter key. If pressing the enter key in case of no warning is leading into the next screen, you need to cover the part up to the recording with a the Message tag. Than you need to check the message container and if your warning is coming up, you execute the part with the enter key.
If you could be more specific with your question and a detailed description with screen shots, I can help you in more detail.
Rgds
Christian
06-15-2013 3:05 PM
1. Please let us know how to increment the do loop when script is in running mode.
Loop counter can be incremented using the below approach
DO 5.
REF ( XYZ , XYZ_1 ).
Counter = Counter + 1.
ENDDO.
2. but you are telling about the warning messages that are initially recorded one, but i need the answer for the "enter" key script for handling the warning messages which are not recorded and exists while running the scrips. please help to solve this issue.
If the pop-ups are dynamically generated then you need to have the recording of the enter key being executed till the point you have no further popup's and you will end up with error message which can be allowed using Message EndMessage and continue with further recording.
Hope it helps.
Thanks,
Aj
08-26-2013 8:13 PM
if it has solved the issue , please close the thread.
Thanks,
Aj