I am using UI.Vision to automate the action of opening a flash player, finding the play button and clicking it
The macro successfully opens the player, finds the button and clicks it (i.e. the button changes from the “stopped” state to the “playing” state). But no sound is heard and the stream does not play
If I then manually toggle the button back to “stopped” and then back to “play”, the stream plays successfully.
Edit: Added sample json
These are my commands:
{
“Name”: “StartBBCRadio4”,
“CreationDate”: “2019-11-10”,
“Commands”: [
{
“Command”: “open”,
“Target”: “Radio 4 - Listen Live - BBC Sounds”,
“Value”: “”
},
{
“Command”: “waitForPageToLoad”,
“Target”: “Radio 4 - Listen Live - BBC Sounds”,
“Value”: “5000”
},
{
“Command”: “pause”,
“Target”: “5000”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//*[@id="play"]/span[1]”,
“Value”: “”
}
]
}