Forum Discussion

indraniria's avatar
indraniria
Contributor
2 years ago

How to run specific test case in particular environment?

I have 2 environments setup : Dev & QA.

There are certain test cases which are intended for Dev env only. How I avoid running those when I select QA environment?

or when I select Dev env, only dev environment specific test cases run?

5 Replies

  • Guigz's avatar
    Guigz
    Occasional Contributor

    I changed the "Keys" manipulation part for "if else" that click directly the chosen item separately instead of trying to do it dynamically. This might not be viable for combobox with a lot of items, but I only had 4 and it seem to work in my case. 

    • Guigz's avatar
      Guigz
      Occasional Contributor

      When I manually try to reproduce the steps, the window stay open as I would expect.

      • Guigz's avatar
        Guigz
        Occasional Contributor

        I just saw that before clicking the button I select an item from a combobox dropdown using the Keys("[Up]") and Keys("[Enter]"). If I don't do that part the window don't disappear, but I still need to do that part