Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. QA Tools
  3. Squish
  4. Animation testing in Squish: Cup filling animation
Forum Updated to NodeBB v4.3 + New Features

Animation testing in Squish: Cup filling animation

Scheduled Pinned Locked Moved Unsolved Squish
2 Posts 2 Posters 474 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pritha Suresh
    wrote on last edited by
    #1

    Hi everyone,

    How can we test a cup filling animation in squish?

    I have used test.startVideoCapture() and test.stopVideoCapture() to capture videos of animation and test it with object.grabScreenshot of each 10% filling from 0 to 100.

    But the captured video is stored in test results and I have issues in accessing it. Also I am unable to compare the screenshots and video frames.

    Anyone have ideas on how to test this animation? This would be really helpful.

    Thanks & Regards
    Prithashasni

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jagadish
      wrote on last edited by
      #2

      @Pritha-Suresh you can modify the path where the video is getting saved by passing the path to the "test.startVideoCapture(/path)"
      to do animation testing you will need external tools like opencv or someting similar.
      It will be easier to test any internal property corresponding to the animation rather than attempting to test the filling animation.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved