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

Mailing List - Entries of 2012


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

Re: [QF-Test] Implicit Exception handling for Component not found


  • Subject: Re: [QF-Test] Implicit Exception handling for Component not found
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Mon, 24 Sep 2012 16:09:12 +0200

Hello Mahesh,

with the way you named the nodes in your example it is hard to tell
whether you're using 'Test' nodes or 'Test-set' and 'Test-case' nodes.

In the latter case, QF-Test should automatically continue with
execution of the next Test-case after an exception. Skipping the rest
of the Test-set to continue with the next Test-set instead is more
complex. It requires a 'Dependency' node with a 'Catch' for
TestException that holds a 'Server script' node with

rc.stopTestSet()

If you're using 'Test' nodes, 'Implicitly catch exceptions' should be
active at "Set" level and inactive at "Case" level.

Either way, be sure the test is not simply stopped because of the
debugger being active. Regardless of the settings described above, the
exception will be treated as an uncaught exception and trigger the
debugger.

Best regards,
    Greg

maheshgowd.saddala@?.com writes:

> can anyone please help me in this issue?
> I have seen the chapters  & also the archive of the query lists. But it couldnot help me solve the
> problem.
>
> Many thanks for the help in advance..
>
> Regards,
> Mahesh
>
> Maheshgowd SADDALA                            To qftest-list                                      
>                                               cc                                                  
> AceTP-Project                            Subject Implicit Exception handling for Component not    
> BNP Paribas India Solutions                      found                                            
> 11th Floor, Zenith Building,                                                                      
> Ascendas Chennai International Tech                                                               
> Park,                                                                                             
> CSIR Road, Taramani, Chennai 600113                                                               
>                                                                                                   
> tel : 91 44 33659122                                                                              
>                                                                                                   
> 09/19/2012 08:01 PM                                                                               
>
> Hello,
>
> For my QFS script I have the following tree structure
>
> - Test Suite
>     - Test Set1
>         + Setup
>         + Test Case1
>         + Test Case2
>         + Test Case3
>         + CleanUp
>     - Test Set2
>         + Setup
>         + Test Case4
>         + Test Case5
>         + Test Case6
>         + CleanUp
>
> Implicit Exception handling is in place for my script but, when I execute the test suite & if
> there is any component not found error shown
> Execution stops at that point and doesnot proceed further. this happens even for a runtime
> exception
>
> On Exception, I want my script to proceed further by skipping the entire Test Set1 and should
> continue with Test Set2
> Can any one please help me on this ?
>
> Mahi
>
> This message and any attachments (the "message") is
> intended solely for the intended addressees and is confidential.
> If you receive this message in error,or are not the intended recipient(s),
> please delete it and any copies from your systems and immediately notify
> the sender. Any unauthorized view, use that does not comply with its purpose,
> dissemination or disclosure, either whole or partial, is prohibited. Since the internet
> cannot guarantee the integrity of this message which may not be reliable, BNP PARIBAS
> (and its subsidiaries) shall not be liable for the message if modified, changed or falsified.
> Do not print this message unless it is necessary,consider the environment.
>
> ------------------------------------------------------------------------------------------
>
> Ce message et toutes les pieces jointes (ci-apres le "message")
> sont etablis a l'intention exclusive de ses destinataires et sont confidentiels.
> Si vous recevez ce message par erreur ou s'il ne vous est pas destine,
> merci de le detruire ainsi que toute copie de votre systeme et d'en avertir
> immediatement l'expediteur. Toute lecture non autorisee, toute utilisation de
> ce message qui n'est pas conforme a sa destination, toute diffusion ou toute
> publication, totale ou partielle, est interdite. L'Internet ne permettant pas d'assurer
> l'integrite de ce message electronique susceptible d'alteration, BNP Paribas
> (et ses filiales) decline(nt) toute responsabilite au titre de ce message dans l'hypothese
> ou il aurait ete modifie, deforme ou falsifie.
> N'imprimez ce message que si necessaire, pensez a l'environnement.

-- 
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                               Tel: +49 8171 38648-0
DE-82538 Geretsried                         Fax: +49 8171 3864816
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833