Development

I recently completed five years as a UX designer in the industry — navigating the fintech world, working on diverse…

I am using Appium to automate all my test cases related to IOS device using Java, Logs are currently displayed on Appium app itself. I want to save them in a text file so that i can check error after it finishes tests.

What I had tried:
1. I tried to use log4j, but it seems working with java console only not Appium.
2. I tried to use field available in Appium itself, but if i use it Appium do no start and shows undefined error, on research i find nobody uses that feature.

So I am not sure if we can do this or not. Any help is appreciated.

I’m trying to launch a Firefox profile with add-ons in it, with selenium v3.12 and gecko-driver v2.10 and Firefox version 60.0, how-ever it seems that the custom profile is not working.
below is my code

static WebDriver driver;
ProfilesIni profile = new ProfilesIni();
myprofile = profile.getProfile(“AutoProfile”);
System.setProperty(“webdriver.gecko.driver”,
“E:\Library\geckodriver-v0.21.0-win32\geckodriver.exe”);
driver = new FirefoxDriver(myprofile);

The acutal error is on the

driver = new FirefoxDriver(myprofile);

as

The constructor FirefoxDriver(FirefoxProfile) is undefined

One of the first things anyone learns about object oriented programming is the power of inheritance and overriding functions. Isn’t…