1

I posted the same question but I think it was not so clear. Now I am rephrasing my question with real problem.

I have a flex application. It is basically a web application. On it I have a player that play avi files and some buttons and tabs along side.

The application also have recording button that records that direct stream from an IP cam and store that stream on the media (USB).

How can I automate function testing of such application. Like I have confusion that when I press the recording button but can I be sure that recording starts? I have tried RIATest and flexUnit 4.

Any help on this will be appreciated.

Sarfraz Ahmed
  • 1,349
  • 6
  • 23
  • 43
  • FlexUnit is for unit/integration tests, not functional tests. Have you embedded automation libs in your application? – Florian F Mar 31 '11 at 12:04
  • how can I add automation libs in my application? where Can I find them and how can I use them? – Sarfraz Ahmed Mar 31 '11 at 12:06
  • automation libs are provided with the Flex SDK if you have flash builder premium. See the Flex or RIATest documentation to add them in your project – Florian F Mar 31 '11 at 13:18
  • I am using flex sdks 3.5.0. but these files are not there in the "sdks/framework/automation.swc" "sdks/framework/automation_agent.swc". – Sarfraz Ahmed Mar 31 '11 at 13:22
  • yes , as said before, you only get them if you have the professional version of flex builder – Florian F Mar 31 '11 at 13:24

2 Answers2

1

You should include automation libs in your project as well as the RIATest agent (if you use RIATest of course)

http://www.riatest.com/onlinedocs/v3/RIATest/CompilingWithAgent.html

Florian F
  • 8,822
  • 4
  • 37
  • 50
  • Yeah I am now using Flex monkey. I had sdk 3.5 before. when I checked the libs folder the automation stuff was not there. so I switched to sdk 3.2 and now flex monkey is working. I am in the process of check...If I will get any problem I will share...Thanks – Sarfraz Ahmed Apr 01 '11 at 06:55
1

I think you want FlexMonkey: http://flexmonkey.gorillalogic.com/

Brian Genisio
  • 47,787
  • 16
  • 124
  • 167
  • Yeah I am now using Flex monkey. I had sdk 3.5 before. when I checked the libs folder the automation stuff was not there. so I switched to sdk 3.2 and now flex monkey is working. I am in the process of check...If I will get any problem I will share...Thanks – Sarfraz Ahmed Apr 01 '11 at 06:54