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

Multiple Iterations for Checking values in table in eCATT

Former Member
0 Likes
411

Hello Gurus,

Let me explain the scenario. I have a table T1 with coloumns C1, C2, etc. C1 has diff values and after I perform a TCD operation i have to check if a diff table say T2 was updated with diff values of C1. Now if there was just a single record then this could be achieved by CHETAB command. I have to repeat this process. So how do we achieve this in eCATT. Is it possible.

Also how do we voluntarily fail a test script. Suppose i am mentioning a condition and if that condition is met the test script should fail.

thanks all for your help.

Regards,

GS

1 ACCEPTED SOLUTION
Read only

Vny12
Product and Topic Expert
Product and Topic Expert
0 Likes
358

Hi,

i have answered for 1st part of quesiton in one of you other query.

2nd part, you want to fail the ecatt on condition.

use this code..

if flag ='x'.

CHEVAR ( 1 = 2).

end if.

this will make fail you script if flag = 'x'.

regards

vinay

2 REPLIES 2
Read only

Vny12
Product and Topic Expert
Product and Topic Expert
0 Likes
359

Hi,

i have answered for 1st part of quesiton in one of you other query.

2nd part, you want to fail the ecatt on condition.

use this code..

if flag ='x'.

CHEVAR ( 1 = 2).

end if.

this will make fail you script if flag = 'x'.

regards

vinay

Read only

Former Member
0 Likes
358

Hello Vinay,

Same with this query as well. I figured it earlier. Anyways thanks for writing the mail.

Regards,

GS