La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous
abonner à la newsletter
our obtenir des informations à jour sur chaque version - y compris les versions mineures - vous pouvez
nous pouvez vous abonner au flux RSS ou nous suivre sur les médias sociaux.
Alternativement, QF-Test fournit également des informations sur la version elle-même.
Une autre source d'information est notre blog, qui contient des articles actuels sur des thèmes généraux, sur l'entreprise QFS et aussi divers "how-tos", veuillez vous
ABonner au Blog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] Wait for component - Table Cell Value
Hello Hardik, you got very close. The correct solution should be 1. Wait for component - <Table>@Size@S 2. Fetch Index (i) - <Table>@Size@S 3. Wait for component - <Table>@Colour&$(i) i.e your only mistake was using Red as the table header instead of Colour. Note: You need the first wait only if the maximum time is longer than the configured component/item timeout, e.g. by default 5 seconds for the table to appear and 3 seconds for the Size=S row within the table. For performance testing, increasing the default timeout values - by script if you need them changed locally only - and removing the first wait is a bit more efficient as there's one less round of component recognition. Timeout options are described in detail in manual section 31.3.6: https://www.qfs.de/qftest/manual/en/opt_play.html#sec_opt_autodelay Best regards, Greg "Patel, Hardik" <Hardik.Patel@?.com> writes: > Dear team, > > Please let me know how to wait for the cell value “Red” of Colour(not unique) for size(Unique) “S” in the table. > > +---------------------------------------------------------------------------+ > |Index |Colour |Size | > |------------------------+-------------------------+------------------------| > |1 |Blue |M | > |------------------------+-------------------------+------------------------| > |2 |Red |S | > |------------------------+-------------------------+------------------------| > |3 |Red |L | > |------------------------+-------------------------+------------------------| > |4 |Green |XL | > +---------------------------------------------------------------------------+ > > I have tried below code. However It wouldn’t work since we are supposed to provide column name after ‘@’ operator. > Cell value match can be only performed for a row but not for column. > > 1. Wait for component - <Table>@Size@S > > 2. Fetch Index (i) - <Table>@Size@S > > 3. Wait for component - <Table>@Red&$(i) > > I ended up using – > > 1. Wait for component - <Table>@Size@S > > 2. Fetch Index (i) - <Table>@Size@S > > 3. Loop – Count value has to be defined or it would turn in Infinite loop > > 4. Fetch Text (t) - <Table> @Colour&$(i) > > 5. If(match) – Exit > > 6. else – wait 5 seconds > > How can I use Wait for Component instead of Loop. Since I would like to provide time-out value. The above approach is > fine for functional testing but not for performance testing since I need to get the transaction response time based on > the cell value appearance in Colour column. > > Hardik Patel > > Senior QA - EPG > > Global Software Group - DA > > Experian | Swift Park | Old Leicester Road | Rugby | CV21 1DZ > > Ext: 455 4940 | Mobile : (+44) 0 7599624718 > > Hardik.Patel@?.com > > Exp–branded-eSig > > Information in this e-mail and any attachments is confidential, and may not be copied or used by anyone other than the > addressee, nor disclosed to any third party without our permission. There is no intention to create any legally > binding contract or other binding commitment through the use of this electronic communication unless it is issued in > accordance with the Experian Limited standard terms and conditions of purchase or other express written agreement > between Experian Limited and the recipient. Although Experian has taken reasonable steps to ensure that this > communication and any attachments are free from computer viruses, you are advised to take your own steps to ensure > that they are actually virus free. > > Experian Ltd is authorised and regulated by the Financial Conduct Authority. > Companies Act information: Registered name: Experian Limited. Registered office: The Sir John Peace Building, Experian > Way, NG2 Business Park, Nottingham, NG80 1ZZ, United Kingdom. Place of registration: England and Wales. Registered > number: 653331. > > _______________________________________________ > qftest-list mailing list > qftest-list@?.de > https://archive.qfs.de/mailman/listinfo/qftest-list -- 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
|