Mailingliste - Einträge 2016
Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie aber über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren
Newsletter abonnieren
Um aktuell die Informationen zu jeder Release - auch Minor Releases - zu bekommen, können Sie den
RSS-Feed abonnieren oder uns in sozialen Medien folgen.
Alternativ bietet QF-Test auch selbst eine Versionsinformation an.
Eine weitere Informationsquelle ist unser Blog, in dem es aktuelle Beiträge zu allgemeinen Themen, zur Firma QFS und auch diverse "How-Tos" gibt:
Blog abonnieren
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] The target component X could not be determined. - web test
Hello Thomas, frankly, you cannot expect list members to debug your ComponentNotFoundExceptions for you, especially not without a run-log. The steps you included that lead to the exception bear no relevance here, what is required is in-depth knowledge of your SUT. Besides, we already explained to you that your web-application is almost untestable without at least some basic custom resolver. Still, let me answer part of your questions: Of course there is a manual _chapter_ 5: https://archive.qfs.de/qftest/manual/en/user_components.html#usec_components (You were referring to _part_ IV) Please also take a look at the videos about component recognition problems: https://www.youtube.com/watch?v=HcQvIZaJ7eU&index=9&list=PLsQ3ggMe67qgEd4HTruyIgzvdq0RYOzBXhttps://www.youtube.com/watch?v=4mqAysDkDgk&index=10&list=PLsQ3ggMe67qgEd4HTruyIgzvdq0RYOzBX German versions here: https://www.youtube.com/watch?v=uRukAygXuuA&index=9&list=PLsQ3ggMe67qgu21MF1-FH4wjN3KK9Zpha&index=8https://www.youtube.com/watch?v=f5JZ-xzqltU&index=10&list=PLsQ3ggMe67qgu21MF1-FH4wjN3KK9Zpha&index=9 Best regards, Greg Hofmann Thomas IE12 <Hofmann.Thomas@?.de> writes: > Hello everybody, > > I try to set up a web test suite. > > This is hanging early on a check text. > > The error is: > > de.qfs.apps.qftest.shared.exceptions.ComponentNotFoundException > > Message: > > The target component > > 'srvvib318:8180_TaskFormFillRequest_WAR_Scrapping_:theForm:generalInformationPartTypeOut_generisch' > > could not be determined. > > Can anybody imagine, what could be the reason or where to look first? > > The further Stacktrace tells me: > > “This can be caused by a number of quite > > different reasons. Please see chapter 5 > > of the manual for background information > > and how to proceed.” > > On the qfs.de website I’ve found the Manual. But there is only a chapter 4: > > IV Technical reference > > Followed by A FAQ – Frequently Asked Questions. > > Could it be, I’ve overseen something? > > I wil try to describe the circumstances: > > At first there is the HTML: > > <span id="_TaskFormFillRequest_WAR_Scrapping_:theForm:generalInformationPartTypeOut">FP</span> > > Then I set up a generic component: > > <ComponentStep class="SELECT" classcount="1" classindex="0" height="-" > > id="srvvib318:8180_ScrappingStartform_WAR_Scrapping_:theForm:inputPartType_input_generisch" > > name="_ScrappingStartform_WAR_Scrapping_:theForm:inputPartType_input" > > uid="_1oIB" width="-" x="-" y="-"> > > <extrafeature name="class" negate="false" regexp="false" state="0">ui-icon ui-icon-triangle-1-s ui-c</ > extrafeature> > > <extrafeature name="qfs:class" negate="false" regexp="false" > > state="0">SPAN</extrafeature> > > <extrafeature name="qfs:systemclass" negate="false" regexp="false" > > state="0">SPAN</extrafeature> > > <comment>@generic</comment> > > </ComponentStep> > > Later I give the QF-Test ID to another variable: > > <SetGlobalStep id="_1oJv" varname="idMaterialAusgabe"> > > <default>srvvib318:8180_TaskFormFillRequest_WAR_Scrapping_:theForm:generalInformationPartTypeOut_generisch</ > default> > > </SetGlobalStep> > > Then I do a ProcedureCall: > > <ProcedureCall id="_1oJZ" procedure="check_text" > > retvarname="setMaterialOK"> > > <variable name="_id">$(idMaterialAusgabe)</variable> > > <variable name="_separator">$(idMaterialSeparator)</variable> > > <variable name="_value">$(idMaterialValue)</variable> > > </ProcedureCall> > > The 2 other Variables are: > > <SetGlobalStep id="_1oJ3" varname="idMaterialSeparator"> > > <default>@</default> > > </SetGlobalStep> > > <SetGlobalStep id="_1oJE" varname="idMaterialValue"> > > <default>FP</default> > > </SetGlobalStep> > > I do a ProcedureCall because I want to do some extra things which are not complete yet. > > The Procedure does a Check Text: > > <Procedure id="_1oJN" name="check_text"> > > <variable name="_id"/> > > <variable name="_separator">@</variable> > > <variable name="_value"/> > > <SetGlobalStep id="_1oJS" local="true" varname="isOK"> > > <default>true</default> > > </SetGlobalStep> > > <IfSequence id="_1oJP" name="is_separator_regexp" > > test=""$(_separator)" == "%""> > > <CheckStringStep client="$(client)" component="$(_id)" id="_1oJO" > > local="true" regexp="true" resvarname="testOK"> > > <text>(?i).*$(_value).*</text> > > <comment>Achtung! Bei Text muß der gleiche regexp rein wie bei Prozedur set_select. Im Else Zweig normal > ohne regexp, denn dann separator == '@'.</comment> > > </CheckStringStep> > > <ElseSequence id="_1oJQ" name="no_separator_regexp"> > > <CheckStringStep client="$(client)" component="$(_id)" id="_1oJR" > > local="true" resvarname="testOK"> > > <text>$(_value)</text> > > </CheckStringStep> > > </ElseSequence> > > </IfSequence> > > <IfSequence id="_1oJT" name="check_text_ok" test=""$(testOK)""> > > <SetGlobalStep id="_1oJU" local="true" varname="isOK"> > > <default>true</default> > > </SetGlobalStep> > > <ElseSequence id="_1oJV" name="check_text_not_ok"> > > <SetGlobalStep id="_1oJW" local="true" varname="isOK"> > > <default>false</default> > > </SetGlobalStep> > > </ElseSequence> > > </IfSequence> > > <ReturnStep id="_1oJX" retval="$(isOK)"/> > > </Procedure> > > There the error is emerging. > > Would be great if someone has an idea or a hint. > > Thanks in advance and regards -- Gregor Schmid E: gregor.schmid@?.de T: +49 8171 38648-11 F: +49 8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer HRB München 140833
|