Hot answers tagged


Welcome to SQA. Instead of me investigating what happens in this particular case, I think it will be more helpful for this and similar questions to understand how to read stacktrace see an actual value of your variable (i.e., debug with System.out.println()). read from JavaDoc for Java API, what each exception means, e.g., NullPointerException. That ...


This should be quite simple with xpath: //li[@class='open']//a[text()='Patient List']

Only top voted, non community-wiki answers of a minimum length are eligible