Visual Test - controlling and retrieving information from "role=client windows" (e.g. open office)

Visual Test - controlling and retrieving information from "role=client windows" (e.g. open office)

Post by Thies Egge » Fri, 18 Jul 2003 02:37:31



hi,

<intro>
I'm working on automation and testing of a different application, but
since the same problem occured using opensource projects like "open
office" or "star office" I started hoping again that I might get help
from someone who had the same problems (you see I'm looking
desperately for a solution)

<problem>
I want to get information (content etc.) and control an object with
visual test.
Problem: the window is described via WInfo tool only as a "client
window", content values etc. are missing. For instance, in "General"
control type of the main window of Open Office writer is "window",
class name ist "SALFRAME" and in "MSAA", role is "client" ( what does
this mean? ). Trying to set the object class with W(class
name)SetClass or WCustomSetClass failed. Maybe there is any way to
directly access memory used by the object?

<question>
Does anyone know a way how to handle these objects with visual test
and get the content within?

thanx   Thies Eggers / Freiburg / Germany

<add info>
I included the WInfo information:

   GENERAL
Handle:         &h0018016A
ID:             N/A
Ordinal:        N/A
Style:          &h15CF0000
Enabled:                Yes             Visible:        Yes
Size:           (1032 x 746)
Absolute coordinates:   (-4,-4)-(1028,742) 1032x746
Relative coordinates:   (-4,-4)-(1028,742) 1032x746
Text:           unbenannt1 - OpenOffice.org 1.0.3
Class name:     SALFRAME
Module:         soffice.exe
Associated label: N/A
Control Type:   Window

   MSAA
Object ID:      =1573226#unbenannt1 - OpenOffice.org 1.0.3 {Client}#
Name:           unbenannt1 - OpenOffice.org 1.0.3
Role:           Client
State:          N/A
Value:          N/A
Description:    N/A
Help:           N/A
Keyboard:       N/A
Action:         N/A
Hwnd:           N/A
Child Count:    0
Position:       (0,19)-(1024,738) 1024x719
Size:           (1024 x 719)

 
 
 

1. Determining "task" cpu useage [E.g "top"]

How would one go about determining  "task" cpu utilization on a target
running  vxWorks 5.4?   A tool like the good'old "top" used on
SunOS/Solaris would be perfect...[difficult, I know, but thought I'ld
ask...]...The shell "i" command just doesn't cut it...

The "tasks" on the target (powerpc) in question run in one of three
priorities (high(50), medium(100) and low(150)) and utilizes round-robin
scheculing [to achieve fair allocation of the cpu for tasks within the
same priority].  I'ld simply like to detemine
how-often/how-much-cpu-time the low priority task are getting [and which
of the high and medium "tasks" are using the most cpu].

Tools, pointers, suggestions welcomed....Cheers....

2. Launching a applic/proc from memory

3. I get "Scanner Test" when I open "Quick Panel" for my v310

4. 6100 upgrade??

5. !!!!!"""""IMPORTANTE"""""!!!!!

6. d(~lps$f

7. K7s5a """"ich krieg die KRIESE"""""

8. How to retrieve the results of a request in "inReplyPreMarshal" or "inReplyPostMarshal"?

9. How you understand different in definition: "Test Script" and "Test Procedure"?

10. "alpha testing" and "beta testing"

11. UCLA short courses on "User-Centered Prototyping" and "Designing Visual Interfaces"