View Single Post
  #6 (permalink)  
Old 06-30-2010, 01:37 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default v601 still has problems with click RELATIVE TO WINDOW

here is the text of a simple ATMN that exhibits a problem when trying to do a mouse click relative to the WINDOW on my WINDOWS 7 LENOVO with twin engine pentium and office 2010 and 3 monitors.

If you change LINE 24 to be RELATIVE TO SCREEN, then it works just fine.


1 Comment: 185 lines 3 seconds to edit in 5.5
2 Comment: still under 3 second in v6
3 Comment: ================================================== ===========
4 Variable Operation : 200 To $Y$
5 Variable Operation : 50 To $X$
6 Variable Operation : 499 To $delayVariable$
7 Loop While Window Exists ("Microsoft Excel - ZZstarXYtest.xl*")
8 If Window Exists ("Microsoft Excel - ZZstarXYtest.xl*") Then (Wait up to 1 seconds - for Window to exist)
9 Close Window: "Microsoft Excel - ZZstarXYtest.xl*"
10 If Window Exists ("Microsoft Excel") Then (Wait up to 2 seconds - for Window to exist)
11 Keystrokes: [ALT DOWN]n[ALT UP] in "Microsoft Excel"
12 End If
13 End If
14 End Loop
15 Open "H:\My Documents\Automation Anywhere\Automation Anywhere\$TestDataIncludingXYgridEXCEL\ZZstarXYtes t.xlsx "
16 Delay: (5000 ms)
17 Maximize Window: "Microsoft Excel - ZZstarXYtest.xl*"
18 Delay: (1000 ms)
19 Start Loop "50" Times
20 Variable Operation : $Y$+30 To $Y$
21 Variable Operation : $X$+10 To $X$
22 Message Box: "x$X$ y$Y$ "
23 Delay: ($delayVariable$ ms)
24 Mouse Click: Left Button on 'x y variables relative WINDOW or SCREEN' in "Microsoft Excel - ZZstarXYtest.xl*"
25 Delay: ($delayVariable$ ms)
26 Keystrokes: '=X=$X$=Y=$Y$=##=$Counter$= in "Microsoft Excel - ZZstarXYtest.xl*"
27 Comment: why is the window zz* repositioned???
28 Delay: ($delayVariable$ ms)
29 Variable Operation : $delayVariable$ To $delayVariable$
30 End Loop
31 Delay: (1500 ms)
32 Comment: ================================================== ===========
33 Comment: ================================================== ===========
Attached Files
File Type: zip ZZstarXYtest.zip (5.5 KB, 2 views)
Reply With Quote