I am automating a webpage using Selenium but there is one scenario where after clicking on a button, it opens up an Excel sheet. I need to enter a value in the cell of the Excel sheet. I am using Sikuli (in Eclipse) to do that but the header name of the cell is not unique. (Please refer the screenshot)
I am trying to enter the value in the cell highlighted in red box.
I tried the below code (in Eclipse) but it is clicking the wrong cell.
Screen s = new Screen();
Pattern p = new Pattern("images/Cell.png");
s.find(p);
s.click(p);
Cell.png is as below: