List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter  


[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.