sfapi vs.flexmonkeyis

179 views
Skip to first unread message

Piotr Orchowski

unread,
Nov 20, 2010, 7:41:04 PM11/20/10
to Selenium-Flex API - Support
Guys !!!!
I don't belive in this project.Just take a look at commits .. it's
quite poor ... Honestly flexmoneky is much beeter, and it's still
developed. Try it before commenting ...
Rg's

Piotr

anil arige

unread,
May 11, 2011, 12:45:34 AM5/11/11
to sfapi-...@googlegroups.com
Is FlexMonikum also payed version? As i am not able to select a value
from drop down.

Regards,
Anil Bhargav Arige.

anil arige

unread,
May 11, 2011, 12:53:07 AM5/11/11
to sfapi-...@googlegroups.com
Selecting a drop down item with FLexmonikum is showing below error:
License not present. With the trial verison only limited records are allowed.

Is there any other solution for this?
Regards,
Anil Bhargav Arige.

Charlie Tran

unread,
May 11, 2011, 9:54:20 AM5/11/11
to sfapi-...@googlegroups.com
Hi,

i am not sure.  you pay for the flex sdk version, not the flexmonkey, i think.  i have done the demo for automating flex web app using this monkey lib with valid flex sdk and see no limiitation.


good luck,
charlie







> Date: Wed, 11 May 2011 10:15:34 +0530
> Subject: Re: sfapi vs.flexmonkeyis
> From: arige...@gmail.com
> To: sfapi-...@googlegroups.com

Piotr Orchowski

unread,
May 11, 2011, 10:07:12 AM5/11/11
to Selenium-Flex API - Support
As far as i remember, you have to build your flex application with
flex builder pro, otherwise you will get license warning.
What can I say, I'm running hundreds of test cases with flexmonkey +
selenium + java.
There are some synchronization problems however there are also some
workarounds :)


See:
http://www.gorillalogic.com/forumpost/1011#comment-1564

rg's

On May 11, 3:54 pm, Charlie Tran <charlietrit...@hotmail.com> wrote:
> Hi,
>
> i am not sure.  you pay for the flex sdk version, not the flexmonkey, i think.  i have done the demo for automating flex web app using this monkey lib with valid flex sdk and see no limiitation.
>
> good luck,
> charlie
>
> > Date: Wed, 11 May 2011 10:15:34 +0530
> > Subject: Re: sfapi vs.flexmonkeyis
> > From: arige.a...@gmail.com

anil arige

unread,
May 11, 2011, 1:27:30 PM5/11/11
to sfapi-...@googlegroups.com
But the issue I am facing is, selected drop down item is not sticky.
Its being reset to blank.
Below is the code converted to Java format after recording in IDE.

for (int t = 0;; t++) {
if (t >= 60) fail("timeout");
try {
if (proc.getBoolean("isFlexMonkey", new String[] {"<UIEvent
command=\"Open\" value=\"problem_type_cb\"/>"})) break;
} catch (Exception e) { }
Thread.sleep(500);
}

for (int t = 0;; t++) {
if (t >= 60) fail("timeout");
try {
if (proc.getBoolean("isFlexMonkey", new String[] {"<UIEvent
command=\"Select\" prop=\"name\" value=\"ABS Light
Diagnosis/Repair\"/>"})) break;
} catch (Exception e) { }
Thread.sleep(500);
}

for (int t = 0;; t++) {
if (t >= 60) fail("timeout");
try {
if (proc.getBoolean("isFlexMonkey", new String[] {"<UIEvent
command=\"SelectText\" value=\"problem_desc_tf\"><arg
value=\"0\"/><arg value=\"0\"/></UIEvent>"})) break;
} catch (Exception e) { }
}

for (int t = 0;; t++) {
if (t >= 60) fail("timeout");
try {
if (proc.getBoolean("isFlexMonkey", new String[] {"<UIEvent
command=\"Input\" value=\"problem_desc_tf\"><arg
value=\"sad\"/></UIEvent>"})) break;
} catch (Exception e) { }
Thread.sleep(500);
}

for (int t = 0;; t++) {
if (t >= 60) fail("timeout");
try {
if (proc.getBoolean("isFlexMonkey", new String[] {"<UIEvent
command=\"Click\" value=\"Save\"/>"})) break;
} catch (Exception e) { }
Thread.sleep(500);
}

But in the above select command is not sticking the selected drop down
option. Any help regarding this plz. Also where can I see all the
commands that are available for FlexMonkey like <UIEvent
command=\"Click\" value=\"Save\"> etc.

Regards,
Anil Bhargav Arige.

Charlie Tran

unread,
May 12, 2011, 12:19:56 AM5/12/11
to sfapi-...@googlegroups.com
hi,

i have also done demo for test cases with flex monkey as well as sfapi.  both works fine.  but now i am using sfapi because it is free, no license involved.  i would like your opinion on which one is more functional?  for example, sfapi can not automate tree control, no clicking on data grid item, no xpath,.. what do you think?

thanks,
charlie

Charlie Tran
Java Develope
SAIC

703-249-5150 (H)
703-253-1212 (W)
================= !





> Date: Wed, 11 May 2011 07:07:12 -0700
> Subject: Re: sfapi vs.flexmonkeyis
> From: orchows...@gmail.com
> To: sfapi-...@googlegroups.com

anil arige

unread,
May 12, 2011, 4:11:19 AM5/12/11
to sfapi-...@googlegroups.com
Can some one suggest which is best tool to support flex automation of
a web app along with java .
For Java we are using selenium RC.
Please can some one post the API available for FLexSelenium &
FlexMonkium as well. or mail me

--Anil

Piotr Orchowski

unread,
May 12, 2011, 5:13:51 AM5/12/11
to Selenium-Flex API - Support
hello
I assume that you can't see any
items when opening combobox. If so - this is a bug somewhere in one of
swc components used for automation(flexmonkey/adobe automation swcs/
flex sdk).
Note that I've experienced the same problems with dynamic comboboxes
only, however there are some workarounds for that.
See: http://www.gorillalogic.com/forumpost/1068
Events I'm using in test framework:
public class MonkeyEventActions {

/** The OPEN. */
public static String OPEN = "Open";

public static String CLOSE = "Close";

/** The SELECT. */
public static String SELECT = "Select";

/** The INPUT. */
public static String INPUT = "Input";

/** The CLICK. */
public static String CLICK = "Click";

/** The SELEC t_ text. */
public static String SELECT_TEXT = "SelectText";

/** The DOUBL e_ click. */
public static String DOUBLE_CLICK = "DoubleClick";

/** The DRA g_ start. */
public static String DRAG_START = "DragStart";

/** The DRA g_ drop. */
public static String DRAG_DROP = "DragDrop";

/** The SCROLL. */
public static String SCROLL = "Scroll";

/** The HEADE r_ click. */
public static String HEADER_CLICK = "HeaderClick";

/** The CHANGE. */
public static String CHANGE = "Change";

/** The TYPE. */
public static String TYPE = "Type";

public static String CHANGE_FOCUS = "ChangeFocus";
}

Note: I'm not using Selenium IDE. I'm utilizing selenium rc with
flexmonkey commands and java + testng.

Rg's

Piotr

anil arige

unread,
May 12, 2011, 6:33:30 AM5/12/11
to sfapi-...@googlegroups.com
Hi ,

Can you share the API of flexmonkium or the process of using commands
in Selenium RC Flexmonkium code, how the commands must be provided
etc..

Regards,
Anil Bhargav Arige.

Reply all
Reply to author
Forward
0 new messages