Forum Discussion

Oferv's avatar
Oferv
Super Contributor
15 years ago

Object appear for short time on screen and TC cannot "catch" it

Hi,



I'm running an installation test and when i get to the screen where the progress bar display i have a very specific time to checkpoint the objects(when the actual installation progress ends the next screen in the installation process display automatically) that displayed on this screen.that fact leaves TC a very short time to checkpoint all objects in that specific screen.TC didn't stand the time it has and it cannot finish all checkpoint in this screen.can you offer a solution for this problem?



Thanks

3 Replies


  • Hi Ofer,





    I can suggest you using a single Region checkpoint instead of several checkpoints. In this case, you can validate the entire window at once.





    Also, you can ask the installation developers to make it possible to pause the needed screen for testing purpose. For example, they can add a command-line parameter that will make installation leave the needed screen open until the Next button is clicked.
  • Oferv's avatar
    Oferv
    Super Contributor
    O.k Thanks,



    now another thing,the installation screen are changing but their root name stays the same name (Aliases["MSIEXEC"]["wndMsiDialogCloseClass"]) for each screen i'm taking a screenshot. when i get to the screen where the installation's progress bar displays i'm taking a screen shot of that screen and then changing to the finish screen and taking again a screen shot,the screenshot shows the progress bar screen and not the finish screen.why is that happening?for all installation process i do the same and it works just for the finish screen it doesn't. do you have any idea?



    Thanks

  • Hi Ofer,





    Probably, the image is somehow cached since you get it for the second time from the window with the same name without doing any actions. Try calling the RefreshMappingInfo method for the mapping name of the wizard screen before getting the Finish screen image.