Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.



Published on

You can automate repetitive topic editing actions using scripting in Oracle UPK:

  • Be the first to comment

  • Be the first to like this


  1. 1. Developer Brainteaser #1
  2. 2. Steve Davis Taleo
  3. 3. Johnny and the Keyboard Shortcuts <ul><li>One day Johnny recorded a Proficiency topic logged in as a real user. </li></ul><ul><li>He must remove the area showing the real User Name in each frame, </li></ul><ul><li>using the “Edit Screenshot” function in Taleo Proficiency Developer. </li></ul><ul><li>Let’s review how Johnny performed these edits… </li></ul>
  4. 4. Little Johnny and Keyboard Shortcuts The entire topic was recorded while logged in as the real user Paul Stern.
  5. 5. Little Johnny and Keyboard Shortcuts This topic has many frames, and all require correction.
  6. 6. Little Johnny and Keyboard Shortcuts <ul><li>Johnny is removing the line showing the User Name by: </li></ul>2. Copying a blank area of the top toolbar Then Johnny saves the entire “patched” toolbar to the clipboard: And moves to the next frame to repeat this process… 3. Pasting blank area over name (a ‘patch’) 1. Launching Screenshot Editing mode (Paint)
  7. 7. Little Johnny and Keyboard Shortcuts <ul><li>All of a sudden Johnny’s mouse stops working! </li></ul><ul><li>How can he continue to “patch” each screenshot in the topic? </li></ul><ul><ul><li>He must use only his keyboard to: </li></ul></ul><ul><ul><li>launch Screenshot Editing for a frame </li></ul></ul><ul><ul><li>make the appropriate graphic edit </li></ul></ul><ul><ul><li>terminate Screenshot Editing </li></ul></ul><ul><ul><li>navigate between frames </li></ul></ul><ul><ul><li>make this edit on all screens </li></ul></ul>
  8. 8. Little Johnny and Keyboard Shortcuts <ul><li>ANSWERS : </li></ul><ul><li>To edit each frame and move to the next, Johnny uses: </li></ul><ul><ul><li>Alt+E to expose the E dit drop-down menu </li></ul></ul><ul><ul><li>E to select the E dit Screenshot menu item </li></ul></ul><ul><ul><li>Ctrl+V to Paste the clipboard contents (because it is flush-top-left it lands correctly each time) </li></ul></ul><ul><ul><li>Alt+F4 to Exit Paint </li></ul></ul><ul><ul><li>Enter to answer “ Yes ” to keep changes dialog </li></ul></ul><ul><ul><li>Alt+Rt. Arrow to navigate to the next topic frame </li></ul></ul>
  9. 9. Scripting Keyboard Shortcuts TAKING IT FURTHER: These 5 keystroke combinations can be recorded as a ‘macro’: The macro is run automatically to correct many frames.
  10. 10. Questions?