Forum Discussion

RichBopp's avatar
RichBopp
Contributor
6 years ago

On Error - "Stop test item" is not working when I run a Mobile test using a Virtual Browser.

Running Keyword Tests - I've started experimenting with Mobile testing via the Virtual Browsers.  But, the "Stop test item" On Error setting is not working. 

 

Is there something else, some other setting specific to Virtual Browser testing I need to do?  

 

I'm using the Apple iPhone X virtual browser if that is material.  Also, using TestComplete 14.0.

 

 

  • RichBopp's avatar
    RichBopp
    6 years ago

    I found the solution.  A mix of "Why did it do that?" and my own limited memory.

    Somehow when I created my Mobile Project my 'Default Project Property' for "On Error" which is "Stop Project" was not recognized, and was changed to "Stop test item".
    It's been so long since I originally set up my Default, I didn't remember "Stop test item" doesn't stop the whole Project, it just stops the current test and moves on to the next one in the Project.
    I've updated the "On Error" to "Stop Project", and will make the same change for all future Mobile tests.

     

  • Thurman471's avatar
    Thurman471
    Occasional Visitor

    RichBopp wrote:

    Running Keyword Tests - I've started experimenting with Mobile testing via the Virtual Browsers.  But, the "Stop test item" On Error setting is not working. 

     

    Is there something else, some other setting specific to Virtual Browser testing I need to do?  

     

    I'm using the Apple iPhone X virtual browser if that is material.  Also, TalktoWendys using TestComplete 14.0.

     

     


    I also facing this experience and still have this issue.

    • RichBopp's avatar
      RichBopp
      Contributor

      I found the solution.  A mix of "Why did it do that?" and my own limited memory.

      Somehow when I created my Mobile Project my 'Default Project Property' for "On Error" which is "Stop Project" was not recognized, and was changed to "Stop test item".
      It's been so long since I originally set up my Default, I didn't remember "Stop test item" doesn't stop the whole Project, it just stops the current test and moves on to the next one in the Project.
      I've updated the "On Error" to "Stop Project", and will make the same change for all future Mobile tests.