List Icon
Archive de la liste de diffusion

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]

[QF-Test] Wait for component - Table Cell Value


  • Subject: [QF-Test] Wait for component - Table Cell Value
  • From: "Patel, Hardik" <Hardik.Patel@?.com>
  • Date: Fri, 16 Dec 2016 14:17:55 +0000

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.