2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2015


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Table in GWT


  • Subject: Re: [QF-Test] Table in GWT
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Wed, 28 Jan 2015 17:17:34 +0100

Hi Wim,

the approach for such a situation is the same for all GUI engines:

First use a 'Fetch index' node on

table@Omschrijving@vergoeding verplaatsingstijd

to fetch the row index into a variable, e.g. the local variable "row".
Instead of "table", use the QF-Test ID of the specific table in your
test-suite.

Follow this with a mouse click on the cell at the given row in the
first column, e.g.

table&0&$(row)

You may want to set X and Y to 10,10 to be sure to hit the checkbox.

Best regards,
    Greg

Wim Willemsens <Wim.Willemsens@?.be> writes:

> Dear,
>
> I’m testing a GWT-project and I’m stuck with following…
>
> We have a table with 4 columns,
>
> 1 = checkbox
>
> 2,3,4 = text
>
> Now I would like a script (or something else) that search a text in the 4^th column (Omschrijving)
> and then select the checkbox in the first column.
>
> I don’t have any fixed reference to the checkbox, so it have something like: search for text and
> then select the checkbox in the first column(TD) of this row(TR)
>
> Table
>
> [cid]
>
> Structure of html
>
> In this case I need a script that search for “vergoeding verplaatsingstijd” and the select
> checkbox gwt-uid-162.
>
> The table can be very long (2000 rows).
>
> [cid]
>
> Can somebody give me a hint where to start
>
> Kind regards Wim
>
> _______________________________________________
> qftest-list mailing list
> qftest-list@?.de
> http://www.qfs.de/mailman/listinfo/qftest-list

--
Gregor Schmid

E: gregor.schmid@?.de
T: +49 (0)8171 38648-11
F: +49 (0)8171 38648-16

Quality First Software GmbH | www.qfs.de
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Karlheinz Kellerer
HRB München 140833