Patent attributes
Testing correct mirroring of a GUI. Two GUI specifications are received, a reference GUI specification and a mirrored GUI specification that corresponds to a horizontally mirrored version of the reference GUI specification. For each child element in the reference GUI specification, a start position, width, and width of the parent GUI element are determined from the reference GUI specification; for the corresponding mirrored GUI element, a mirrored start position and a mirrored width are determined from the mirrored GUI specification; and for the mirrored GUI element, a calculated mirrored start position, based on the start position, width, and width of the child GUI element's parent GUI element are determined. If the mirrored start position or the mirrored width is not within a predefined tolerance of the calculated mirrored start position or the width, respectively, the mirrored GUI specification is updated with the calculated mirrored start position or the width, respectively.