[Ranorex 5.4.2] Run stop unexpected

Bug reports.
GBR
Posts: 1
Joined: Tue Sep 29, 2015 8:44 am

[Ranorex 5.4.2] Run stop unexpected

Post by GBR » Tue Sep 29, 2015 10:23 am

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,

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: [Ranorex 5.4.2] Run stop unexpected

Post by Support Team » Thu Oct 01, 2015 2:13 pm

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