Is it possible play a video and record the timestamp in UFT?

115 Views Asked by At

I'm new to automation testing and UFT. I'm trying to play a video and record its timestamp through automation in UFT one. Please let me know if its possible, if so, how? I'm testing on a Web application

1

There are 1 best solutions below

0
On

UFT has support the the <video> HTML tag.

It supports basic operations such as Play and Pause. You can also use GetROProperty to get properties like duration and current time.

If your application uses a non-standard video container then UFT does not support it out of the box, you'll have to examine the control to see how to extract the data. This is more work but it should be possible (worst case you'll have to use attribute/ properties).