UserCode path was broken down when rename repository item

Bug reports.
espekkaya
Posts: 12
Joined: Tue Mar 11, 2014 4:07 pm

UserCode path was broken down when rename repository item

Post by espekkaya » Fri Jun 20, 2014 8:22 am

Hello,

When I tried your application, I have recognized an error.

The problem is,

My UserCode something like that;

Code: Select all

var RepoMadde4_1_d = repo.IdareSayfalari.IhaleOncesi.IhaleIslemleri.SartnameIslemleri.IdariSartnameOlustur.Mal.Cerceve.Madde4_1_d;
ClickItem(RepoMadde4_1_d.EvetRadioButton, RepoMadde4_1_d.EvetRadioButtonInfo, "4.1.d");
After I renamed repository item name;

Code: Select all

var RepoMadde4_1_d = repo.IdareSayfalari.IhaleOncesi.IhaleIslemleri.SartnameIslemleri.IdariSartnameOlustur.Mal.Cerceve.Madde4_1_d;
ClickItem(RepoMadde4_1_d.lustur.Mal.Cerceve.Madde4_1_d.SampleEvetRadioButton, RepoMadde4_1_d.lustur.Mal.Cerceve.Madde4_1_d.SampleEvetRadioButtonInfo, "4.1.d");
I thought that it was an error when compiling code.

Thank you in advanced.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: UserCode path was broken down when rename repository item

Post by Support Team » Tue Jun 24, 2014 4:38 pm

Hello,

It is not so easy to analyze the code without knowing the repository structure, but I think the problem with the second code is that you double iterate through the same repository items.
The following code should work:
var RepoMadde4_1_d = repo.IdareSayfalari.IhaleOncesi.IhaleIslemleri.SartnameIslemleri.IdariSartnameOlustur.Mal.Cerceve.Madde4_1_d;
ClickItem(RepoMadde4_1_d.SampleEvetRadioButton, RepoMadde4_1_d.SampleEvetRadioButtonInfo, "4.1.d");
Regards,
Markus
.
Image