watir:How to click on play player obj embeded in browser.

F

Fleck Jean-Julien

Hello,

2009/12/22 Suman Yerram said:
How to click on play icon in a media player object embeded in web
browser.

Try to use firebug within firefox to see what characteristic of your
button you could use to click on it.

Cheers,

--=20
JJ Fleck
PCSI1 Lyc=E9e Kl=E9ber
 
F

Fleck Jean-Julien

Hello Suman
I have take the screen shot of the media player object details using the
IE dev connect and sending it for your information...help me in this
regard

I would look at the <PARAM> fields to see if there is something
interesting in there (but sorry, I've no idea if there will be
anything...)

Cheers,

--=20
JJ Fleck
PCSI1 Lyc=E9e Kl=E9ber
 
F

Fleck Jean-Julien

Hello Suman,
I am sending you the =A0one of the <PARAM> fields screen shot for your
information using IE Dev connect.....help me in this regard.

If watir_object is the watir object you are using, something like

watir_object.button:)name,"ClickToPlay").click

should do the trick. Note however that it could be something else than
'button' (in my script, I have only used 'button' or 'link' to click
on it) so look in the documentation to see what else respond to the
'click' method.

Cheers,

--=20
Jean-Julien Fleck
PCSI1 Lyc=E9e Kl=E9ber
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top