selenium webdriver - How to Write Exception in xls for seleniium? -
i using selenium webdriver
i have n number of functional test cases.
from excel sheet, controlling test cases want run. eg. test case 1 - run, test case 2- no run etc.
when see run in excel sheet test case 1, using switch statement, picking relevant classname.methodname()
each functional test cases in try /catch method return result pass/fail. if try block runs @ end given result pass else catch block return me result fail.
my mainclass calls all..
if test case fails, due browser issues protected mode on or zoom size > 100. not able figure out failure until run debug mode.
by chance, can catch every exception , write in excel?
any appreciated.
thanks
Comments
Post a Comment