Still nothing. So I decided to write them in Selenium IDE, and run them as a
suite directly from command line with selenium RC. I found that you can set
test speed using setSpeed(millis) in selenium IDE. I tried that in Java too,
but with no success.
Thank you for your time.
Have a nice day!
Loredana
On Mon, Jun 14, 2010 at 11:45 AM, Daniel Wagner <[email protected]>wrote:
> Hi again,
>
> going over your initial message again, I realized I overlooked something:
>
> > To access the tree item I use qxClick(locator) or
> doubleClick(locator) when i choose the child of the node.
>
> Selenium's doubleClick may not work (depending on the target widget),
> try using qxClick with the double=true parameter. I doubt that's the
> problem since you said it works in Selenium (IDE?), but it can't hurt.
>
> Aside from that, five seconds really should be enough for any widget to
> appear. When you're running your test in Java, can you place your
> browser and shell windows side by side to visually confirm that the tree
> item widget appears after the qxClick command?
>
> You can also try to debug your locator by calling some methods on the
> object it finds, e.g.:
> QxSelenium.qxObjectExecFunction(treeItemLocator, "getLabel");
>
> or
>
> QxSelenium.qxObjectExecFunction(treeItemLocator, "isVisible");
>
>
> Regards,
> Daniel
>
> Loredana Loredana schrieb:
> > Hello.
> > I tried with Thread.sleep(), and selenium.wait(5000) and pause(5000)
> > with no success.
> > From what I saw I believe that the problem is that the test runs faster
> > in java, and some elements don't have time to load properly, like you
> > said. But how else can I slow it down, if those 3 commands don't work?
> >
> >
> > Thank you,
> > Loredana
> >
> > On Fri, Jun 11, 2010 at 10:52 PM, Loredana Loredana <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> > I will try what you suggested on Monday and I will get back to you
> then.
> > My locator looks something like this
> > qxh=app:child[0]/child[13]/child[0]/child[1]/child[0]/child[0].
> >
> > Thank you a lot for your answer.
> > Have a nice weekend!
> > Loredana
> >
> >
> >
> ------------------------------------------------------------------------------
> > ThinkGeek and WIRED's GeekDad team up for the Ultimate
> > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> > lucky parental unit. See the prize list and enter to win:
> > http://p.sf.net/sfu/thinkgeek-promo
> > _______________________________________________
> > qooxdoo-devel mailing list
> > [email protected]
> > <mailto:[email protected]>
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> ------------------------------------------------------------------------------
> > ThinkGeek and WIRED's GeekDad team up for the Ultimate
> > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> > lucky parental unit. See the prize list and enter to win:
> > http://p.sf.net/sfu/thinkgeek-promo
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > qooxdoo-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel