Issue selenium code maintenance
- by Rajasankar
I want to group the common methods in one file and use it. For example, login to a page using selenium may be used in multiple times. Define that in class A and call it in class B. However, it throws null pointer exception.
class A has
public void test_Login() throws Exception
{
try{
selenium.setTimeout("60000");
…