If visible is not working :/
Posted: Thu Feb 26, 2015 9:12 am
Hi everybody,
I have very basic problem but I still could not understand why it is not working :/
im triying to delete all items until an error popup appears.but when the code starts, ranorex is waiting for the item inside the if scobe. i want to pass it if it is not visible.
this is my pop up object : /form[@title='Uyarı']/titlebar[@accessiblerole='TitleBar' and @visible='True']
I also tried this but result same : /form[@title='Uyarı']/titlebar[@accessiblerole='TitleBar']
this is the popup which will tell me stop.
I have very basic problem but I still could not understand why it is not working :/
im triying to delete all items until an error popup appears.but when the code starts, ranorex is waiting for the item inside the if scobe. i want to pass it if it is not visible.
this is my pop up object : /form[@title='Uyarı']/titlebar[@accessiblerole='TitleBar' and @visible='True']
I also tried this but result same : /form[@title='Uyarı']/titlebar[@accessiblerole='TitleBar']
this is the popup which will tell me stop.
Code: Select all
while(true)
{
repo.EFTMesajOluşturmaDuezeltmeEkranı.DuezeltListele.Click();
repo.DuezeltmeBekleyenEFTSecimi.DuzeltmeIlk.DoubleClick();
if(repo.Uyarı.Uyari.Visible)
{
repo.Uyarı.ButtonOK.Click();
break;
}
RcMoveTo.Start();
repo.EFTMesajOluşturmaDuezeltmeEkranı.MesajIptal.Click();
repo.Uyarı.ButtonOK.Click();
repo.MesajDoekuemue.ButtonNo.Click();
}