Im new in Ranorex and have problems to manipulate RxPath in Repo.
I have Table with two colums in the first are Ids in the second toggle buttons for each Id to change status.
I have to find right id in the table and change status of this Id with button.
It works fine if there is no variable in RxPath: Ranorex is chooses always the right row there requied Id is and clicks the button in the nex column of this row.
This how the RxPath looks in this case ( its innertext of span):
Code: Select all
dom[...//span[@innertext='1234']/../../..//div[2]/tag[2]//span[@class='mat-slide-toggle-content']
Code: Select all
dom[...//span[@innertext=$value]/../../..//div[2]/tag[2]//span[@class='mat-slide-toggle-content']
Code: Select all
string value = "5678";
repo.Portal_Hauptmaske.MedienUndFahrer.Ladekarten.LadekartePruefung.LabelAktivDeactiv.TagValue = value;
repo.Portal_Hauptmaske.MedienUndFahrer.Ladekarten.LadekartePruefung.LabelAktivDeactiv.Click();
Anybody idea what I do wrong?