Hello - I am getting this error when I run the code in TestNG and Java Application. Can't seem to locate or find any issues anywhere. Can you help me with this and provide me some tips/advice. Also, screenshot below shows the error message when I run the test via testng.xml file. Thank you
Instructor
Ashish Thakur Replied on 15/03/2022
You have to initialize the desired capabilities object.
Have you done that?
Hello Ashish - Please see the below screenshot. It's initilized based on the instructed video
Instructor
Ashish Thakur Replied on 21/03/2022
Try with Platform.WINDOWS in the code
Hi Ashish - please see below, it will work now if I just run the BaseTest class but when I run it from the testng.xml, test fails and shows the below errors. Thank you