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

Error while running test configuration

Former Member
0 Likes
649

Hi,

I created a test script using SAPGUI and test configuration.In test configuration,i created 2 variants other than default one.Downloaded the variants and executed it. It was giving error "Error inn ecatt command SAPGUI","Cannot Find Screen Element in Replay Mode". When i run test script alone,its working fine.

Please tell me how to correct the problem.

Thanks,

Aparna.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
567

Hello Aparna,

As per the error description give by you , it means that when you execute the script recorded the eCATT control is unable to find the screen element in the screen recorded , possible reasons may be that the control may be in some other screen and trying to find the screen element of the other screen in the present screen.

Solution to this may be check the connection id and the session id of the SAPGUI where the script is failing.

Ideally all the connection id and session id of all the SAPGUI's recorded has to be same so that execution takes place in a single session.

Hope it answers your question.

Thanks and Best regards,

Ajay

3 REPLIES 3
Read only

Former Member
0 Likes
567

Hi,

First refresh the Test data container and Test configuration.

Substitute the correct script name.

Substitute the relative Test data container,Once you call the test data container all the variants will be displayed at test configuration,then you can select required variants by using add as variant as regular format and can execute

Thanks

siva

Read only

Former Member
0 Likes
568

Hello Aparna,

As per the error description give by you , it means that when you execute the script recorded the eCATT control is unable to find the screen element in the screen recorded , possible reasons may be that the control may be in some other screen and trying to find the screen element of the other screen in the present screen.

Solution to this may be check the connection id and the session id of the SAPGUI where the script is failing.

Ideally all the connection id and session id of all the SAPGUI's recorded has to be same so that execution takes place in a single session.

Hope it answers your question.

Thanks and Best regards,

Ajay

Read only

Former Member
0 Likes
567

Hi Aparna,

It seems that the test script was executing the default variant with which it recorded.

However,when new variant is added to the test configuration,it is having a extra screen/pop-up which was not recorded and hence it is throwing a error.

Please check with the screen sequence while it executes.

Regards,

Senthil.