Identifying Graphs (Core plot) using Appium tool for Ui Automation

Hey Kirill Sorry to ask you … But are you the official Appium support … I am asking this because , before i could give a concrete reply to my superiors i need to be sure that this is something can not be doable …

I thing the Xaxis and the Y axis and the CPPlot are subclass of CALayer … So I was trying to set accesibility Label to them …

CPTXYAxisSet axisSet = (CPTXYAxisSet )newGraph.axisSet;
CPTXYAxis *x = axisSet.xAxis;
x.axisLineStyle = nil;
x.majorTickLineStyle = nil;
x.minorTickLineStyle = nil;
x.majorIntervalLength = CPTDecimalFromDouble(5.0);
x.orthogonalCoordinateDecimal = CPTDecimalFromDouble(0.0);
x.title = @“X Axis”;
x.titleLocation = CPTDecimalFromFloat(7.5f);
x.titleOffset = 55.0;

[x setIsAccessibilityElement:YES];
[x setAccessibilityLabel:@"X"];

[axisSet setIsAccessibilityElement:YES];
[axisSet setAccessibilityLabel:@"CPTXYAxisSet"];

But appium can not recognize and says element with this name can not be found .

So is suppose if we can set an accesibility Label to them and make appium recognize it then we are good … I got an answer from this link that it can be doable … but How i dont know

So i am desperately trying different permutation and combination to get this done

Can this below document be helpful :person_frowning:

Making Your iOS App Accessible