Deepak Verma

Results 25 comments of Deepak Verma

Thanks for the reply, As per you feedback, now I am using as below. @After public void after(Scenario scenario) { if (scenario.isFailed()) { byte[] data =((TakesScreenshot) appiumDriver).getScreenshotAs(OutputType.BYTES); scenario.attach(data, "image/png", "My...

> Unfortunately the server log gist is not accessible. Also, the generated actions JSON above does not look right to me. Are you sure there are no loops anywhere? All...

> @dipakkumar1225 You can set the duration of move action to zero as a workaround @mykola-mokhnach Thanks for the workaround, now I am able to perform tap action. But still...

> @dipakkumar1225 check "Logs" folder is created or not (System.getProperty("user.dir") + File.separator + "Logs" + File.separator + "Server.logs")). If not create the Logs folder and try!! @ashwithpoojary98 Folder and files...

> please try below code, > > File logDir = new File(System.getProperty("user.dir") + File.separator + "Logs"); if (!logDir.exists()) { logDir.mkdirs(); } > > ``` > return AppiumDriverLocalService.buildService(new AppiumServiceBuilder() > .withIPAddress("127.0.0.1")...

> File serverLogsFile = new File(logDir, "Servers.logs"); if (!serverLogsFile.exists()) { try { serverLogsFile.createNewFile(); } catch (IOException e) { e.printStackTrace(); } } don't create a log file directly use it!! >...

@mykola-mokhnach Can you please guide me on this? Today I tried by simply creating Java application and with these too getting the same error. ``` public static void main(String[] args)...

> > > File serverLogsFile = new File(logDir, "Servers.logs"); if (!serverLogsFile.exists()) { try { serverLogsFile.createNewFile(); } catch (IOException e) { e.printStackTrace(); } } don't create a log file directly use...

@ashwithpoojary98 @mykola-mokhnach Today, I tested by downgrading the Selenium version to 4.12.0, and logs attached successfully to file. Additionally, if the "Logs" folder is not present, it gets created at...