Forum Discussion

aafreen_jamadar's avatar
aafreen_jamadar
Occasional Contributor
6 months ago

Hover Text for desktop applications

Hi, I have been trying to test the hover text for various buttons on the screen. I am not sure of what checkpoints to use for that. 

Note:

1. Since this is a desktop application, I cannot use the ImageRepository object. 

2. I am scripting in python and not using keyword tests.

 

5 Replies

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Are you able to use Object Spy tool to capture the tooltip?

    • aafreen_jamadar's avatar
      aafreen_jamadar
      Occasional Contributor

      I can't locate the tooltip because the object disappears while trying to set a checkpoint.

      Is there any alternative to that?

       

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Use the Object Spy tool to create a name mapping for it first. You can then create a keyword action to perform a check point afterwards.

    • aafreen_jamadar's avatar
      aafreen_jamadar
      Occasional Contributor

      What if I'm only working with scripts and not keyword tests? Can you walk me through the steps to add a check point into a python script? 

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Oops, ignore my statement where I said "You can then create a keyword action to perform a check point" - got mixed up with another post I was responding to.

     

    You should use Property Checkpoints, but you need to first create a name mapping using Object Spy for your UI control.