Skip testcase according to variable in excel sheet

Ranorex Studio, Spy, Recorder, and Driver.
A_C
Posts: 13
Joined: Fri Jun 21, 2013 11:23 am

Skip testcase according to variable in excel sheet

Post by A_C » Tue Jan 20, 2015 7:53 am

Hello

I have a test automation which uses an excel sheet as data connector. I would like to have the first variable in the sheet called "Skip_Testcase", it should be filled with "Yes" or "No". If the variable is filled with "Yes" the testcase should be skipped and if possible marked as skipped in the report (should not be green but greyed out or something).

Thanks.

swmatisa
Posts: 123
Joined: Fri Aug 05, 2011 7:52 am

Re: Skip testcase according to variable in excel sheet

Post by swmatisa » Tue Jan 20, 2015 8:59 am

Hello,

It is quite similar to http://www.ranorex.com/forum/starting-t ... t3899.html
Hope this helps
SW

A_C
Posts: 13
Joined: Fri Jun 21, 2013 11:23 am

Re: Skip testcase according to variable in excel sheet

Post by A_C » Tue Jan 20, 2015 9:17 am

Thank you, but it is not really the same situation.

I have inly one testcase in the ranorex studio and this testcase will be executed many times, according to the rows in the excel file. And i want to be able to skip data rows in the excel file (skip iterations not testcases).

Your example is about checking and unchecking testcases in ranorex studio.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Skip testcase according to variable in excel sheet

Post by odklizec » Tue Jan 20, 2015 9:52 am

Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration