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 2012


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

Re: [QF-Test] record base procedures


  • Subject: Re: [QF-Test] record base procedures
  • From: "Berg, Klaus-Peter" <klaus-peter.berg@?.com>
  • Date: Sat, 24 Mar 2012 20:14:47 +0100

Hi Walter,
 
I have created a small Swing app that has menus, menu items, menu sub items and "menu sub sub items".
 
Now I understand your problem, but unfortenately, I have NO solutions and no idea :-(
You are right: you would need more than parent and grand pa, because your menu item hierarchy is one level deeper.
Futhermore, you CANNOT use the QF-Test qfs procedure "...selectSubItem", as used in the procbuilderdef.qfs.
It has parameters for the subitem only, not for "levels of subitems". Therefore, besides the placeholder name problem,
I guess you would have to write your own access procedure too ...
 
My current solution is to use the ProcBuilder (Record components) just as a base to have a set of procedures in place.
Then I will try to reorganize and rename the craeted packages and procedure names to better suit my needs.
I have even experimented with procbuilderdef_xxx.qfs (using procbuilderdef.qfs as a blueprint) but I could not produce any results at all.
So, it seems, ProcBuilder/Record Components and procbuilderdef.qfs customizations are for advanced QFS experts only ;-) ...
 

Best regards,

Klaus-Peter Berg


Von: "Keßler, Walter" [mailto:wkessler@?.de]
Gesendet: Freitag, 23. März 2012 08:01
An: Berg, Klaus-Peter
Cc: qftest-list@?.de
Betreff: Re: [QF-Test] record base procedures

Hello Klaus-Peter,

thanks for your informations.

I do some tests but i have  not the final solution.

My Problem ist, that there is no placeholder as describet in chapter:
41.1.   Platzhalter


So i dont know, how can i get the right COMPID für my subMenueItem.

Any ideas

Thanks

Walter

Mit freundlichen Grüßen


i.A. Walter Keßler

PSI Aktiengesellschaft für Produkte und Systeme der Informationstechnologie
Geschaeftsbereich Energie
Boschweg 6
63741 Aschaffenburg
Deutschland
Telefon: +49 6021 366-529
Telefax: +49 6021 366-112
wkessler@?.de
www.psi.de


Sitz der Gesellschaft: Dircksenstraße 42-44, 10178 Berlin, Deutschland
Mitglieder des Vorstands: Dr. Harald Schrimpf, Armin Stein
Vorsitzender des Aufsichtsrats: Prof. Dr.-Ing. Rolf Windmöller
Handelsregister Amtsgericht Berlin-Charlottenburg HRB 51 463

Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte Informationen. Wenn Sie nicht der vorgesehene Empfänger sind, informieren Sie bitte sofort den Absender und löschen Sie diese E-Mail. Das unbefugte Kopieren dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen ist nicht gestattet.

The information contained in this message is confidential or protected by law. If you are not the intended recipient, please contact the sender and delete this message. Any unauthorised copying of this message or unauthorised distribution of the information contained herein is prohibited.


Am 22.03.2012 09:47, schrieb Berg, Klaus-Peter:
Hello Walter,
 
I'm currently experimenting with solutions for the same problem: How to create "optimal readable" packages and procedure names for menus/menu item/ sub items out of a (Swing) JMenuBar.
You can specify your own template for usage by the QF-Test Procedure Builder, see http://www.qfs.de/qftest/manual/en/opt_record.html#opt_pbconffile.
The procbuilder definition file's general explanation is given at http://www.qfs.de/qftest/manual/en/user_procbuilder.html.
 
I guess using this file at <QF-Test-Root>\qftest-3.4.5\include\procbuilderdef.qft as a template and extending, e.g., the "MenuItem selection" part
 
 
you can create access procedures for levels deeper than level 2...
At least, chapter 18.3 of the manual gives us hope to do so ;-)

18.3 Configuration of the Procedure Builder

The act of building procedures is controlled by a template suite, which is located at
qftest-3.4.5/include/procbuilderdef.qft. This file should be copied to any
project-specific location, if you want to adapt it to your project. You can define its location
in the options at Configuration file for recorded procedures
(247).
The template suite contains procedures for the most common GUI elements and actions.
If you require other test-steps, you can add the according procedure to this testsuite.

 
Best regards
Klaus Peter


From: qftest-list-bounces@?.de [mailto:qftest-list-bounces@?.de] On Behalf Of "Keßler, Walter"
Sent: Donnerstag, 22. März 2012 08:23
To: qftest-list@?.de
Subject: [QF-Test] record base procedures

Hello,

i like to create automatically base test procedures via procbuilder.

For the mainframe menue items i can only create procedures for the first and secend level.
Is it possible to do the same for a third level.

For exampel:

Menue 1 -> Submenue 1.1 -> Submenue 1.1.1

Thanks

Walter
--

Mit freundlichen Grüßen


i.A. Walter Keßler

PSI Aktiengesellschaft für Produkte und Systeme der Informationstechnologie
Geschaeftsbereich Energie
Boschweg 6
63741 Aschaffenburg
Deutschland
Telefon: +49 6021 366-529
Telefax: +49 6021 366-112
wkessler@?.de
www.psi.de


Sitz der Gesellschaft: Dircksenstraße 42-44, 10178 Berlin, Deutschland
Mitglieder des Vorstands: Dr. Harald Schrimpf, Armin Stein
Vorsitzender des Aufsichtsrats: Prof. Dr.-Ing. Rolf Windmöller
Handelsregister Amtsgericht Berlin-Charlottenburg HRB 51 463

Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte Informationen. Wenn Sie nicht der vorgesehene Empfänger sind, informieren Sie bitte sofort den Absender und löschen Sie diese E-Mail. Das unbefugte Kopieren dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen ist nicht gestattet.

The information contained in this message is confidential or protected by law. If you are not the intended recipient, please contact the sender and delete this message. Any unauthorised copying of this message or unauthorised distribution of the information contained herein is prohibited.

+----------------------------------------------------------------------+
| Z1 SecureMail Gateway Info - http://www.zertificon.com               |
+----------------------------------------------------------------------+
| - Die Nachricht war weder verschluesselt noch digital unterschrieben |
+----------------------------------------------------------------------+