Ask a Question

picture captured in wrong place

Valued Contributor

picture captured in wrong place


Im using lap_top to run tests and my main screen is separate monitor.
Running from main screen was ok using Log.picture(My window,'','')
But when I get pictures while running on second screen, it gets screen shot of wrong rectangular area
no windows overlapped
Any idias?

Community Hero

Can you show us the actual Log.picture code?  I'm guessing there's an issue because the two monitors are not the same size.

[Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
Valued Contributor

Below is the code I'm using


                  Delay(2600,'Just you waite.......!');
                             if (Aliases.MyApp.StndImportExecute.FindChild('ObjectIdentifier', 'btnExecute', 10,                                                                                                                                                          750).WndCaption=='Completed') {
if (Aliases.MyApp.ErrorDlg.WaitProperty('Exists',true,500) ) {
             Log.Picture(Aliases.MyApp.ErrorDlg, "this is the MSG", "Extended Message Text");
             if (Sys.Process("notepad").Exists) {
                         //some more codes not relevant to this...............
            }          }

Showing results for 
Search instead for 
Did you mean: