08-06-2010, 02:37 PM
Hi RajaSekhar,
Infact QTP is a functional regression testing tool which could not be used for UI testing but the issue which u were telling is changing the position interms of x and y coordinates if this is ur requirement then you first finalize the which browser it is displaying as expected then have the coordinates for that object then fetch the coordinnates from the browser u wnt to compare so that if there is any mismatch in the position it will let u know that object is not positioned properly.
To fetch the coordinates from the object u could go with properties like x,y,abs_x,abs_y
Please let me know if you need any clarification
Regards,
Venkat.Batchu
Infact QTP is a functional regression testing tool which could not be used for UI testing but the issue which u were telling is changing the position interms of x and y coordinates if this is ur requirement then you first finalize the which browser it is displaying as expected then have the coordinates for that object then fetch the coordinnates from the browser u wnt to compare so that if there is any mismatch in the position it will let u know that object is not positioned properly.
To fetch the coordinates from the object u could go with properties like x,y,abs_x,abs_y
Please let me know if you need any clarification
Regards,
Venkat.Batchu