The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
But if you want to stay informed about news about QF-Test, you can simply
Subscribe to Newsletter
To get up-to-date information about each release - including minor releases - you can
subscribe to the RSS feed or follow us on social media.
Alternatively, QF-Test also provides release information itself.
Another source of information is our blog, where there are current articles on general topics, on the company QFS and also various "how-tos"
subscribe to blog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [QF-Test] Table in GWT
Hello Wim, that Jython code is for Swing, not for web. If the rc.getComponent worked you'd just get a different exception. Please use the approach from my previous mail with a 'Fetch index' node followed by a mouse click. The question remains why the index could not be resolved. Please send me - not the list - a suite with a recording of two text checks, on for the Omschrijving table header cell and one for the table cell with Pauze. Please note that the recently released QF-Test 4.0.3 has a greatly improved AJAX resolver for GWT. If you upgrade to QF-Test 4.0.3 and use the new GWT resolver - possibly in new parts of your tests only - things should become a lot easier. Note 1: In QF-Test 4.0.3 the quickstart wizard does not use the new GWT resolver by default. You have to explicitly call the procedure qfs.web.ajax.installToolkitResolver with resolver_version set to 2. Note 2: GWT resolver 2 is not replay compatible with GWT resolver 1. This compatibility will be improved somewhat in QF-Test 4.0.4, but the differences are too significant for a perfect fit. For migration of your old tests you can switch between the old and new GWT resolver versions during test execution by calling qfs.web.ajax.installToolkitResolver with resolver_version set to either 1 (old) or 2 (new). That way you can continue to use your old tests with the old resolver and start creating new procedures with the new one. Best regards, Greg Wim Willemsens <Wim.Willemsens@?.be> writes: > Hello, > > Thanx for the reply! > > I'm trying your solution with the next script > > # first get the table and index > > table, (row, column) = rc.getComponent("192.168.203.201.table14@Omschrijving@Pauze") > > # then get the value of the table cell > > cell = table.getValueAt(row, column) > > But I always get: > > [cid] > > Table > > [cid] > > Kind regards > > Wim > > -----Oorspronkelijk bericht----- > > Van: Gregor Schmid [mailto:Gregor.Schmid@?.de] > > Verzonden: woensdag 28 januari 2015 17:18 > > Aan: qftest-list@?.de > > CC: Wim Willemsens > > Onderwerp: 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