Page 1 of 1

[Ranorex 5.4.2] Run stop unexpected

Posted: Tue Sep 29, 2015 10:23 am
by GBR
Hello,

I have an issue with Ranorex, the run stop unexpected during certain condition :
1.My test launch a Installer application and if pop up "folder exist ?" is displayed the script click on button "yes".

It work in the case the popup exist but in the other case, the debugger and the run stop and no report are generated.

Here is the code i use :

Code: Select all

PopupWatcher myPopupWatcher = new PopupWatcher();			myPopupWatcher.WatchAndClick(repo.Installer.PopUpFolderExists,repo.Installer.PopUpFolderExists.ButtonYesInfo);
myPopupWatcher.Start();
I tryied too with Exist() methode but same issue :

Code: Select all

if (repo.Installer.PopUpFolderExists.SelfInfo.Exists() )
{
Report.Log(ReportLevel.Info, "Pop Up Folder exist");
repo.Installer.PopUpFolderExists.ButtonYes.Click("36;11");
repo.Installer.Installer.Next.Click("36;11");
}
2.Same behavior when i run the uninstaller :

Code: Select all

Host.Local.RunApplication("C:\\Program Files (x86)\\Folder\app\\Uninstallapp.exe", "", "C:\\Program Files (x86)\\Folder\\app", true);
The run stop without error message.

I tried to find an equivalent issue in the forum but didn't found, do you have an idea ?

Thanks in advance.

Kr,

Re: [Ranorex 5.4.2] Run stop unexpected

Posted: Thu Oct 01, 2015 2:13 pm
by Support Team
Hello GBR,

There is no known issue with the PopupWatcher at the moment.

It would be great if you could send your Ranorex Solution and the installer to [email protected].
This would help us analyzing the issue.

Thank you in advance.

Regards,
Johannes