Currently manually testing the layout of Power BI report. Eg: size and color of the buttons, alignment, gap between the rows & columns etc
Is it possible to automate it? If yes, please give the details
I don't think such tools exists to check these automatically.
You can use Gridlines and snap objects to grid when authoring reports in PBI Desktop to have a less painful experience.
Is there any way we can export PBIX file to HTML or XMLA? so we can try access this file and look for properties of objects etc alignment ( x and y axis, font size, color etc)