Mailing List - Entries of 2012
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [QF-Test] QFTest with dinamically generated components
- Subject: Re: [QF-Test] QFTest with dinamically generated components
- From: Паша <pavel.finkelshtein@?.com>
- Date: Thu, 16 Aug 2012 20:44:40 +0400
I thought about second option, but here I have another problem - all the form have very complex autogenerated layout, so iterating thru it may be real headache. If there's no other options will do manual recoeding (which is complex, but reasonable).
Thank you for attention.
2012/8/16 Martin Moser <martin.moser@xxxxxx>
in case you know which kind of text-fields will be generated you can also record the whole process once (incl. the Text-Check nodes). Then for replay QF-Test will recognize those text-fields by structure information etc.
If you want to use a SUT-script you will call rc.getComponent("main-window-id") and iterate through those components manually. How the iteration looks like depends on your applied technology.
I'm testing complex application which generates components on combobox
item selection. Problem is they have no generated names (and no names at
all). The only common point for them is position on form.
I'm using SUT script, to cycle thru combobox items and change two
parameters else, now I need to check values of textfields, but I don't
know how to get newly generated components, and, accordingly, their
values. Any ideas?
Martin Moser martin.moser@?.de
Quality First Software GmbH http://www.qfs.de
Tulpenstr. 41 Tel: +49 8171 38648-14
DE-82538 Geretsried Fax: +49 8171 38648-16
GF: Gregor Schmid, Karlheinz Kellerer HRB München 14083