2006 Jan 26 2:35 PM
While execution of a series of ECATT-chained scripts,I got Some error.
Each recorded invidual test scripts are running fine.But,after chaining test scripts together,it is failing because of the following error:-
When I analyzed the error,I found that the first screen is not coming when it is chained ,whereas it is coming when running it as invidual test scripts(Each invidual scripts running fine).Since that first screen is not coming while executing it as a chain,the chained script is failing.Please suggest how to rectify this error.
1)What code we need to add to rectify this error?
2)Will it be corrected when we use command other than rescon?
Clue:In some transactions when we are entering for the first time all screens will come,Whereas when you are entering again without logging off,it will directly go the second screen,instead of the first screen.
I hope this is the problem this script is failing.
How to rectify this?
I mean how to overcome this error by means of code -I believe that this problem will be solved when we are able to put a code in between the chained transactions to refresh the session.
Waiting for your suggestions.
thanks,
Vishwakarma.
While execution of a series of ECATT-chained scripts,I got Some error.
Each recorded invidual test scripts are running fine.But,after chaining test scripts together,it is failing because of the following error:-
When I analyzed the error,I found that the first screen is not coming when it is chained ,whereas it is coming when running it as invidual test scripts(Each invidual scripts running fine).Since that first screen is not coming while executing it as a chain,the chained script is failing.Please suggest how to rectify this error.
1)What code we need to add to rectify this error?
2)Will it be corrected when we use command other than rescon?
Clue:In some transactions when we are entering for the first time all screens will come,Whereas when you are entering again without logging off,it will directly go the second screen,instead of the first screen.
I hope this is the problem this script is failing.
How to rectify this?
I mean how to overcome this error by means of code -I believe that this problem will be solved when we are able to put a code in between the chained transactions to refresh the session.
Waiting for your suggestions.
thanks,
Vishwakarma.
2006 Jan 26 4:17 PM
Hi Vishwakarma!
You have some nasty transactions. RESCON might help. I usually put all my transactions in one test script, so I'm able to define the steps in between (looking for created document numbers, create next document with reference...)
Try to copy the test scripts into one (new) script. Then you are free to add code between the recordings to prove your clue.
Other way would be: create new recordings, where you already entered the first transaction(s) before actual transaction (so make a recording of the short way, but this pre-filling might be done in 2nd session - hopefully).
That's anyway the fastest solution from performance point of view. You avoid re-login and you have less screens.
Regards,
Christian
2006 Jan 27 7:33 AM
Hi Christian,
Thanks for your reply.
Do you have any idea on dynamic settings table for Finance ?If yes,please provide me the table name where the dynamic settings will be stored.
thanks,
Vishwakarma
2006 Jan 27 11:41 AM
Hi Vishwakarma!
No Clue. You can go the hard way, make a SQL-trace and try to figure out the logic.
But I would go a different way. Just make the (new) recording, after you already entered the first part(s). Then transactions will (should?) present the short way.
If you figure out, which screens are missing, you can also use your old recordings. You 'just' need to deactivate the missing screens, but all the different fields and variables assignments (which probably costed some time) will be OK. The OK-code of the (last) deactivated screen might be the new OK-code for the active screen before - if it's just enter, don't bother about this.
Regards,
Christian
2006 Jan 30 4:32 AM
hi,
Solved in a different way.But,your information was useful to us .
Here we have a used new transaction for the missing screens and now it is working fine.
thanks,
Vishwakarma.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |