Validation getting failed when using Iteration

Ask general questions here.
NishantSingh
Posts: 39
Joined: Thu Oct 09, 2014 1:15 pm
Location: Bangalore

Validation getting failed when using Iteration

Post by NishantSingh » Tue Nov 04, 2014 9:40 am

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
Regrads,
Nishant Singh

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Validation getting failed when using Iteration

Post by krstcs » Tue Nov 04, 2014 6:04 pm

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].
Shortcuts usually aren't...

NishantSingh
Posts: 39
Joined: Thu Oct 09, 2014 1:15 pm
Location: Bangalore

Re: Validation getting failed when using Iteration

Post by NishantSingh » Wed Nov 05, 2014 6:18 am

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
Attachments
Code_ScreenShot.jpg
Code_ScreenShot.jpg (372.2 KiB) Viewed 604 times
Regrads,
Nishant Singh

NishantSingh
Posts: 39
Joined: Thu Oct 09, 2014 1:15 pm
Location: Bangalore

Re: Validation getting failed when using Iteration

Post by NishantSingh » Thu Nov 06, 2014 10:34 am

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
Regrads,
Nishant Singh