question

hemanamani avatar image
hemanamani asked hemanamani posted

Flex custom components automation with iTest

Hi ,

 

What is the way to automate Flex custom components with iTest .?

Incase if we need to write any wrapper classes .. what is the procedure for it .. 

Does anybody tried it ? pls share ..

 

Thanks in Advance .

Hema

iTestGUI Testing(Web-Java Swing-etc)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
msandeep avatar image
msandeep answered msandeep posted

Please refer the below code:

 

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="myapp" width="100%" height="100%"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
<param name="movie" value="Test.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value=#CCCCCC />
<param name="allowScriptAccess" value="sameDomain" />
<embed src="Test.swf" quality="high" bgcolor=#CCCCCC
width="1000" height="500" name="myapp" align="middle"
play="true"
loop="false"
quality="high"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>

 

Test.swf is the flex file referred in this code, you could use yours for this purpose.

 

Thanks!

 

 

1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hemanamani avatar image hemanamani commented ·

Hi sandeep .. 

 

I refered this .... seems like this piece of code is used to embed a music player in any page ...

how is it related to my question... can you pls elaborate ??

 

thank you 

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.