2018 up to now | 2017 | 2016 | 2015 | 2014 | 2013 | 2012

Mailing List - Entries of 2016


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: [QF-Test] Wait for component - Table Cell Value
  • From: "Patel, Hardik" <Hardik.Patel@?.com>
  • Date: Mon, 19 Dec 2016 08:16:10 +0000

Hi Greg,

 

Thanks for the response.

 

I thought about the solution mentioned. However, I think it doesn’t wait for the colour value to be Red. It will wait only for the presence of the component. I need to wait till Row appears and then colour value changes from Blue to Red.

 

Let me know if there is any other workaround.

 

Regards,

Hari

 

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

 

 

-----Original Message-----
From: Gregor Schmid [mailto:Gregor.Schmid@?.de]
Sent: 16 December 2016 19:51
To: qftest-list@?.de
Cc: Patel, Hardik
Subject: 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@xxxxxxxxxxxx

> 

> 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

> http://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

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.