The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] Reg : Queries in accessing JtreeTable
Hello Arul, a Swing JTable can be addressed as a TreeTable by implementing a TreeTableResolver. This is explained in manual section 39.1.10: http://www.qfs.de/qftest/manual/en/tech_nameresolvers.html#sec_treetableresolver Example 39.7 shows a Jython SUT script that you can add to your startup sequence after your SUT has connected and that works for most Swing TreeTables: def getTree(table): return table.getTree() def getColumn(table): return 0 resolvers.addTreeTableResolver("treeTable", getTree, getColumn, "my.package.TreeTable") You should then be able to record events and checks on the table as usual, but row indexes should always be represented as tree paths from the first column. If that doesn't work, please get back to our support and include your test-suite and specific information about what goes wrong. Best regards, Greg arulraj.savariraj@?.com writes: > Hi, > > Thanks a lot for your response for my previous post. > > Question: How to connect the jTreeTable by using Server / SUT Script ? It would be much > helpful for me if you provide a sample code to connect jTreetable , find out the total row / > column count and fetch the data using row / column number. > > Best Regards > Arul S > > This message and any attachments (the "message") is > intended solely for the intended addressees and is confidential. > If you receive this message in error,or are not the intended recipient(s), > please delete it and any copies from your systems and immediately notify > the sender. Any unauthorized view, use that does not comply with its purpose, > dissemination or disclosure, either whole or partial, is prohibited. Since the internet > cannot guarantee the integrity of this message which may not be reliable, BNP PARIBAS > (and its subsidiaries) shall not be liable for the message if modified, changed or falsified. > Do not print this message unless it is necessary,consider the environment. > > ------------------------------------------------------------------------------------------ > > Ce message et toutes les pieces jointes (ci-apres le "message") > sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. > Si vous recevez ce message par erreur ou s'il ne vous est pas destine, > merci de le detruire ainsi que toute copie de votre systeme et d'en avertir > immediatement l'expediteur. Toute lecture non autorisee, toute utilisation de > ce message qui n'est pas conforme a sa destination, toute diffusion ou toute > publication, totale ou partielle, est interdite. L'Internet ne permettant pas d'assurer > l'integrite de ce message electronique susceptible d'alteration, BNP Paribas > (et ses filiales) decline(nt) toute responsabilite au titre de ce message dans l'hypothese > ou il aurait ete modifie, deforme ou falsifie. > N'imprimez ce message que si necessaire, pensez a l'environnement. > > _______________________________________________ > 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
|
1. Functional cookies
We use functional cookies to ensure the basic functionality of the website.
2. Performance and statistic cookies
We use Matomo for analyzing and optimizing our website. Cookies permit an anonymous collection of information that help us offering you a clear and user-friendly visit of our web pages.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing returning visitors.
This cookie is used to track from which website the anonymized user proceeded to our website.
The Matomo session cookie is used to track the visitor's page requests during the session.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.