Skip to Content
0

CBTA Script unexpected warning messages or popup windows

Mar 30, 2017 at 02:10 AM

148

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jim Graley Mar 30, 2017 at 08:03 AM
1

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

Share
10 |10000 characters needed characters left characters exceeded
Lorenzo Miguel Javier Mar 31, 2017 at 02:34 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded