1 / 13

Computer Working By Itself, Beautiful, Isn't It?

Roman Parparov, Bolet Consulting. Computer Working By Itself, Beautiful, Isn't It?. Why?. To test your GUI (and WUI) To import the data To make a movie/demo. The Tools. X11::GUITest X11::GUITest::record X11::protocol X11 utilities XTest extension enabled. Testing Application.

Download Presentation

Computer Working By Itself, Beautiful, Isn't It?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Roman Parparov, Bolet Consulting Computer Working By Itself, Beautiful, Isn't It?

  2. Why? • To test your GUI (and WUI) • To import the data • To make a movie/demo

  3. The Tools • X11::GUITest • X11::GUITest::record • X11::protocol • X11 utilities • XTest extension enabled.

  4. Testing Application • Complete layout control • Debug Mode for your widgets • Log output and catch it • Use cut-and-paste

  5. Testing WUI • Partial layout control • Gtk/Gdk diagnostic tools • Parse the source! • Cut and paste again

  6. Importing Data • Try to determine the toolkit! • X11 basic utilities: • xwininfo • xlsatoms • xprop • xset q • xdpyinfo

  7. Importing Data (II) • Try attaching a query agent • X11::Protocol – low level access • Reverse engineering... • X11::GUITest::record • xev (ugh) • Application rip

  8. Making a Movie/Demo • Run the recording session • Using X11::GUITest::record • Using xev • Convert it to X11::GUITest script • Set timings between calls • Optimize trajectories

  9. X11::GUITest Overview • Consistent style and documentation • Launching the Application • StartApp • WaitWindow* • Getting information • GetMousePos • GetWindowFromPoint • GetChildWindows

  10. X11::GUITest Overview (II) • Input functions • *InputFocus • *MouseButton • *Key • SendKeyStroke • Window management • Move/ResizeWindow • Raise/LowerWindow

  11. Caveats • Window manager/Desktop Environment • Window focus/control • Key delays, freezes • Selection buffers • PRIMARY vs. CUT_BUFFERN • Toolkit clipboards

  12. Other Platforms • MS Windows: • Win32::GUITest • OS/X: • X11? • (N)Curses: • No real widgets

  13. Thank You

More Related