Page 1 of 1

Print Dialog Not Captured

Posted: Mon Aug 24, 2015 1:01 pm
by swainpabitra
Hello,

I am recording a new module in which having files to print.
But when i am going to capture the print dialog box it is not capturing the dialog at all. Due to this no repository is created.

Can anyone tell that why this is happening. Please help.

Thank you.

Re: Print Dialog Not Captured

Posted: Mon Aug 24, 2015 1:16 pm
by odklizec
Hi,

You forgot to mention some important details:
Your Ranorex version?
Your OS?
Application under test technology (desktop, mobile, java, html, qt, etc...)?
Please provide snasphot (not screenshot!) of the application under test.

Re: Print Dialog Not Captured

Posted: Mon Aug 24, 2015 3:31 pm
by swainpabitra
Hi,
Ranorex version: 5.4
OS:WIndows Xp
Desktop Application: Java based
Its a desktop application so unable to take snapshot, if you want then i can provide only screenshot captured!

Thank You.

Re: Print Dialog Not Captured

Posted: Mon Aug 24, 2015 3:37 pm
by krstcs
It should not matter whether it's a desktop app or not, it should still be trackable by Ranorex Spy. I use Ranorex Spy to track Java desktop elements all the time and it works perfectly. Taking a Snapshot with Ranorex Spy only requires that the element be tracked.

Have you tried using Ranorex Spy's "Track" capability to track the dialog?


The other option is to use Spy to track the desktop and then take a Ranorex Snapshot of the whole desktop, which should include all children. Just make sure to close everything but Spy and the Java application first so we don't have to wade through so much.

Re: Print Dialog Not Captured

Posted: Mon Aug 24, 2015 3:43 pm
by odklizec
Hi,

I'm afraid, screenshot may not be very helpful here. Could you at least take a snapshot of the print dialog? I mean, I understand Ranorex cannot identify the elements inside the Print dialog, but does it identify the print dialog itself? If you don't want/cannot post the snapshot here at forum, send it to [email protected] (along with description of your problem).

Also, how exactly is created the Print dialog? Is it system Print dialog or something custom made (java-based)? And finally, please specify the Java version and kind of used Java framework (SWT, AWT, Swing, etc...).

Re: Print Dialog Not Captured

Posted: Tue Aug 25, 2015 12:38 pm
by swainpabitra
Hello,

Yes, i have done by as you suggested to open View Spy and then track the Dialog including its children.
Also tested fine.Thank you for such help.

And its a system dialog as windows provide, not customized and its Java swing framework.
But still having a concern that when ever i start recording its takes time to capture.

I think its a better way to track from spy !!

Again Thank you all for your help.