on 10-14-2015 2:59 PM
All,
For a while now, I am trying to combine UFT tests for Non-sap SUT's and CBTA tests for SAP in one composite test.
I am having no troubles at all calling the UFT Tests from a CBTA composite test, however passing parameters is a pain...
According to the SAP Documentation it should be as easy as exposing the parameters
(See SAP Support Portal , Page 91 onwards)
The moment I change the usage for a parameter of the UFT test to 'Exposed' and try to save the CBTA composite test I receive an error:
Error: The Node 0 of Object CIF2_1 Does Not Exist
This error appears as well when setting the usage parameter to 'Fixed' or 'Local'
The CIF2_1 is the eCatt Command interface.
I looked at it from SECATT as well, but I do not see any obvious clues as to what is wrong.
No notes on SAP to be found either, indiating a program error.
Somebody ?
Hello,
the approach you follow seems to be ok. You may check this SAP note 1972605.
If it does not help I would recommed to create a ticket.
Regards Reiner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arjan,
I was able to clarify. Actually is was an issue in communication based on the term 'CBTA composite test' which does not really exists in our architecture. In addition the guide you referred to still contains some old screens (SAPGUI - based) and based on QTP.
It is definitely possible to put different types (CBTA, UFT, etc.) of scripts into one Composite Script, while the 'Composite Script' is not an CBTA script but part of the Test Composition Environment (TCE) that also allows you to map parameters between scripts. Technically we use ECATT as the underlying framework but added a new UI as well as additional functionality.
To make sure that you are following the right approach here some guidelines:
Let me know if this works in your environment and if not in which step exacly you'll face some issues.
Regards Reiner
Reiner,
Thank you for your support so far.
Looking at your comments i started from scratch with the 'HowTo HP QTP Integration with Solution Manager' to isolate the problem. Possibly this is the same reason why the QTP test can not be added to a Composite test. Unfortunately the guide is not completely up to date looking at STCE being used instead of the WEB TCE for instance.
Using SOLAR02 i create a test for SU01, parametrizing the TCode and UserID.
The input parameters are correctly saved in the test configuration. Subsequently i create a test data container, link the parameters in the Test Data Assignment Wizard.
However, when executing the test, there is no way i can get the test to use the values from the test data container to be used in the test. At execution the only value passed is the default value for the input parameter as it is maintained on the test script. it completely ignores any data from the TDC.
I just ignored this issue, and tried adding the test to a composite test. This works, but as soon as i change the input parameter to 'exposed' error message 'The Node 0 of object CIF1_1 Does not exist is displayed.
Regards,
Arjan
Some screenprints:
Hi Arjan,
thanks for the detailed description. I agree that the guide is not up-to-date and I would recommend to skip chapter 3 and 4 completely and not using STCE or SECATT.
Test Data Container should be assigned at the end as soon the Composite Script is working fine. This will also save effort.
Regards Reiner
Reiner,
- Chapter 4 describes parameter handover using QTP Master test Configuration,
which will not applicable either since i need to pass info to/from UFT-CBTA tests
- Chapter 5 describes parameter handover using TCE, but exactly this parameterization i use,
but is ignored when assigning TDC directly to a QTP test.
When adding the QTP test to a composite test, it is not possible to put the parameter to 'exposed' as
described on page 92
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.