Driver.manage.window.maximize;not working in testng | Selenium Forum
M
Posted on 09/10/2015
driver.manage().window().maximize(); command is not working in testng test. its giving error as "the method window() is undefined for the type error"...

it's working well with same imported jars without testng...

Please suggest...

M
Replied on 10/10/2015

could be bug in testng try changing that.


M
Replied on 27/10/2015

[quote="qtpselenium.supp0rt@gmail.com":2jl5kklb]could be bug in testng try changing that.[/quote:2jl5kklb]
Hi Ashish

Did not get how to change testng.. You are talking about testng.xml or testng jar?
Please let me know how to do that..


M
Replied on 27/10/2015

use the latest version of testng.jar file.