‎2008 Dec 01 1:50 PM
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.
‎2008 Dec 10 11:47 AM
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
‎2008 Dec 08 6:09 AM
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
‎2008 Dec 10 11:47 AM
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
‎2008 Dec 17 4:34 AM
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.