Skip to Content
avatar image
Former Member

CBTA Script unexpected warning messages or popup windows

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 30, 2017 at 08:03 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 31, 2017 at 02:34 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded