Page 1 of 1

Validation getting failed when using Iteration

Posted: Tue Nov 04, 2014 9:40 am
by NishantSingh
Hi,

I am using a windows based application in which when we add a new record it is shown in the table form So suppose when we are adding a student information using the excel connector a row is created and we are validating with the roll number column present in the table created with the value we entered from the excel. For one record its working fine.

But suppose we have two rows and teh same function run 2 times and two rows are created. till this its working fine but the validation part getting failed.

please give a solution as soon as possible

Regards,
Nishant Singh

Re: Validation getting failed when using Iteration

Posted: Tue Nov 04, 2014 6:04 pm
by krstcs
Please give us more information.

1. What version of Ranorex are you using?
2. What version of Windows are you using?

Also, you say you run the function 2 times. Is the Validation action variablized? If not, this will fail since it will only work for 1 iteration.

Finally, could you please post the Ranorex Solution and a Ranorex Snapshot of the application under test? You can find information on creating Ranorex Snapshots on this page.

If you can't post them on the forum, you can send them to [email protected].

Re: Validation getting failed when using Iteration

Posted: Wed Nov 05, 2014 6:18 am
by NishantSingh
Hi KRSTCS

I am Using Ranorex Studio 5.2 32 bit in Windows 7.
Yes I ran the function two times with different data and upto data entry and first validation part its is running fine but 2nd validation is getting failed.

Yes validation action is variablized.

I have sent the snapshot to [email protected] and attaching the screenshot of the recording module.
please provide the resolution.


Regards,
Nishant Singh

Re: Validation getting failed when using Iteration

Posted: Thu Nov 06, 2014 10:34 am
by NishantSingh
Hi,

Thanks I have resolve the issue by making the table row number as variable and taking the row number input from excel as well.


Regards,
Nishant Singh