Mailingliste - Einträge 2015
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] Table in GWT
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
|