Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Making PoP ups optional using ABAP command in eCATT

Former Member
0 Likes
406

Hello eCATT experts,

I have a recorded a eCATT scenario for which it executes successfully with certain set of data.

How ever, for some data it gives different pop ups or messages.So obviuosly script fails.

Now If these messages are part of recording then we can make them optional by marking X to O

But if there are some screens or messages which are not part of the recording.

Can it be possible to make optional, using any ABAP commands.

As I understand I can use ABAP commands and also execute ecatt scripts conditionally.

So is there any way to generalise the code so that what ever POP up screens  or messages comes,

I can ignore them.

I want to check only one final message and give condition like

If final message is generated ,system should ignore what ever the POP ups and screens has appeared

which are not part of recording and pass the test script in Green.

Thanks in advance

Regards

Sadashiv

1 REPLY 1
Read only

Former Member
0 Likes
284

Hello Sadashiv,

As I understand that you are script works for certain values but if it is parameterised you get an Error Popup or message which is not captured in your script.

Ideally the script should not ignore any error popup's or messages.The script should work for right values entered.You can code using ABAP commands for the script but if you have not captured the message popup's in your recording then this option is invalid.Also if the messages are just warning or information messages then you can use SAPGUI Attach and make them optional to reach the end but only exception is error messages ideally are not made optional.

I would suggest you not to ignore any messages.

Hope the information was useful.

Regards