Kalyan Sundhar
unread,Dec 7, 2009, 12:54:51 AM12/7/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to testn...@googlegroups.com
Hi Authors,
I tried to use a method-selector at the suite level with a priority
set to -1. When I ran the test, the method selector didn't take
priority. The Problem I noticed is with TestRunner.java. The
initRunInfo private method doesn't include suite level method
selectors with RunInfo object. I made some modifications to TestNG
code and it worked as expected.
Attached text document details the scenario and changes made to source
files. Also attached the affected testng source files and test
classes.
Please verify the changes let me know your feedback. As I am a
beginner to TestNG, I am not sure about the purpose of not including
suite level method-selectors to RunInfo. It may be intentional. If
that is the case, please let me know the purpose, so that I can
understand the logic behind it.
Thanks,
Kalyan