I do have a Download Form which seems to be visible for Ranorex but does not appear not the screen (Document Save Form on Internet Explorer). Now Ranorex continues with the next step and of course fails. Any idea how I can really make sure the Download Form is visible AND appears on the screen.
Regards
Riccardo
Form visible is true, but not visible on screen
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Form visible is true, but not visible on screen
Hi,
Please can you post us a Ranorex Snapshot of this special form?
How to create a Ranorex Snapshot
Have you checked if the elements on this form are visible too or only the form by it own?
Regards,
Peter
Ranorex Team
Please can you post us a Ranorex Snapshot of this special form?
How to create a Ranorex Snapshot
Have you checked if the elements on this form are visible too or only the form by it own?
Regards,
Peter
Ranorex Team
Re: Form visible is true, but not visible on screen
Hi Peter
I found a workaround:
I do check if the "Save" Button on the Form is "Enabled" as it does not work with visible. Once this is enabled I do click into the Form (to activate) and then press the Save Button. By pressing the Button without clicking somewhere in the form it would not work as the "click" only activates the form.
Workaround Code:
I found a workaround:
I do check if the "Save" Button on the Form is "Enabled" as it does not work with visible. Once this is enabled I do click into the Form (to activate) and then press the Save Button. By pressing the Button without clicking somewhere in the form it would not work as the "click" only activates the form.
Workaround Code:
Code: Select all
public void activateFormDownload()
{
while (! repo.FormDateidownload.btn_speichern.Enabled)
{
Report.Info("Button not available");
Delay.Seconds(2);
}
// Click into Form Dateidownload
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'FormDateidownload' at UpperLeft.", repo.FormDateidownload.SelfInfo, new RecordItemIndex(-1));
repo.FormDateidownload.Self.Click(Location.UpperLeft);
}
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Form visible is true, but not visible on screen
Hi,
Instead of your code you can try following method to activate the form
http://www.ranorex.com/Documentation/Ra ... tivate.htm
Regards,
Peter
Ranorex Team
Instead of your code you can try following method to activate the form
http://www.ranorex.com/Documentation/Ra ... tivate.htm
Regards,
Peter
Ranorex Team