cancel
Showing results for 
Search instead for 
Did you mean: 

CBTA Script unexpected warning messages or popup windows

enzorurong
Discoverer
0 Kudos

Dear All,

I've been scanning the forums for some CBTA tips and tricks and I am wondering if someone has a quick solution for unexpected warning messages or popup windows when we try to use a different variant for a CBTA's test data.

For example in VA01 Sales order creation or ME21n PO creation, we get popup messages (maybe standard or maybe user exit) for some data, then sometimes we don't.

My plan is to make the script ignore the message or popup window when it shows.

What I am currently doing is to add keypress enter multiple times, but I don't think this is the right way to do.

I have also checked some threads below but I dont think it applies:

https://archive.sap.com/discussions/thread/3774277

Accepted Solutions (0)

Answers (2)

Answers (2)

Hi Lorenzo,

The default components IF and EndIf are provided. Record the script with the pop up and then add these components.

There is an example in the document: -

CBTA 3.0 SP05 - Runtime Library and Default Components.pdf

Which is available from the Solution Manager WIKI Test Suite site.

https://wiki.scn.sap.com/wiki/display/SM/SAP+Solution+Manager+WIKI+-+Test+Suite+in+7.1

Best Regards

Jim

enzorurong
Discoverer
0 Kudos

For reference if anyone encounters the same problem as me.

I edited the script that I recorded and I utilized the %windowTitle% token as an operand for my IF statement so I can press a key or do a certain set of commands if a specific window appears.