24-07-24 10:46 AM
Hello,
We have just started automation against chrome. Some of the links on the website we are automating against cannot be clicked due to them invoking a java script.
To get around this , we are using surface automation to identify the link and then mouse clicking the link.
The issue we are having , is that the links have been identified in our Development environment , but when exported to our Production , they are no longer identified.
The following rules have been followed
is there anything else we need to do with the chrome browser setup to match between dev and prod ?
24-07-24 02:19 PM
Something is different between the environments. Experiment with using colour tolerances, larger search areas (rather than exact location match) and even greyscale options as described in the Surface Automation training.
If still a problem then i can suggest taking a screenshot in both environments and comparing them pixel by pixel to find and understand where the difference between images is. I used to knock up a quick comparison process that loaded both pictures and compared one pixel at a time - but I'm guessing there may be quicker ways.
25-07-24 01:13 PM
Try using a global mouse click like this.
30-07-24 08:37 AM
Hi there @Stephen.Jones - just wanted to check in and see if @Denis__Dennehy or @John__Carter's tips here helped you? If they did, please could you update us? It's always great to know the solution to a problem so that we can share it with the wider community!