When using the repo.NameForm.SelfInfo.Exists() function is get true. Although the window is not displayed, and the children's host is none. What kind of mistake?
If using method repo.NameForm.Self programm get is Error.
Please explain why the element is not present, and the method shows that it is?
Error in EXIST() method
Re: Error in EXIST() method
Report with warn, Repository, and Snapshot in screenshot.
Pls HELP
Pls HELP
- Attachments
-
- TradeControl.cs
- (48.99 KiB) Downloaded 173 times
-
- SnapShot.png (48.84 KiB) Viewed 2102 times
-
- TradeControl.rxrep
- (17.51 KiB) Downloaded 169 times
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Error in EXIST() method
Hi,
Are you sure you use the right repo item, since there is no item named "NameForm"?
Please also attach the created report file including the error message.
Thanks,
Markus
Are you sure you use the right repo item, since there is no item named "NameForm"?
Please also attach the created report file including the error message.
Thanks,
Markus
Re: Error in EXIST() method
I have attached all the necessary files to the message with the screenshot. Just attach a real piece of code.
repo.NewTradeAsterisk.NewTradeInfo.Exists() = true.
But the window is not open on the screen. Attaching a report, which recommends to contact support.
Code: Select all
Report.Debug("Поиск окна сделки");
while(repo.NewTradeAsterisk.NewTradeInfo.Exists())
{
Report.Debug("Сделка найдена");
Report.Debug("Поиск поля SAVE");
while(!repo.Save.SelfInfo.Exists())
{
Report.Debug("Поле SAVE не найдено");
try{
repo.NewTradeAsterisk.Self.Close();
Delay.Milliseconds(3000);
}
catch{}
}
while(repo.Save.SelfInfo.Exists())
{
try{
repo.Save.ButtonNo.Click();
Delay.Milliseconds(3000);
}
catch{}
}
Delay.Milliseconds(3000);
Report.Error("Был обнаружен мусор. Сделка закрыта");
}
But the window is not open on the screen. Attaching a report, which recommends to contact support.
14:52.643 Warn Repository
Failed to update the cached element for folder 'TradeControl.NewTradeAsterisk'. In order to analyze this issue, please contact [email protected] with a copy of this report, the repository, and a snapshot of the automated application.
- Attachments
-
- TradeControl.rxrep
- (17.51 KiB) Downloaded 179 times
Re: Error in EXIST() method
This error pops up in different places if the method is used Exists(). Help me pls. What am I doing wrong
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Error in EXIST() method
Hi,
We need all the files mentioned in the report in order to be able to analyze this issue in detail.
Please send us the report (*.rxlog and *.rxlog.data file), the repository (check) and a Ranorex snapshot file of your application under test.
How to create such a Ranorex snapshot file is described on the following page: Creating Ranorex Snapshot Files.
Please send the files to our support mail address ([email protected]).
Thanks,
Markus
We need all the files mentioned in the report in order to be able to analyze this issue in detail.
Please send us the report (*.rxlog and *.rxlog.data file), the repository (check) and a Ranorex snapshot file of your application under test.
How to create such a Ranorex snapshot file is described on the following page: Creating Ranorex Snapshot Files.
Please send the files to our support mail address ([email protected]).
Thanks,
Markus
Re: Error in EXIST() method
letter has been sent. I look forward to an early resolution of the problem situation