But this code often uses coordinate points to take an ElementStruct.
Example:
Code: Select all
if ( RxElementFindChildLocation(&controlElement, 12, "Clipboard",
NULL, 142, -10, &element) != TRUE)
return 1;
gui elements.
Example:
Code: Select all
if ( RxMouseMoveToControl(control,113, 11, 40) != 0 )
return 1;
RxMouseGetPosition((int*)&point.x, (int*)&point.y);
RxMouseDown(0);
RxMouseMove(point.x+-116, point.y+7, 137);
exports to C++ code ?
2. I know I can use the toolbox to inspect the gui elements that the
test application should visit but then the C++ code must be written
manually. I played with trying to use constant ID with the widgets in
one of my tested application but without much luck. Is there a way to
change the code in a tested application so the recorder exports C++
code without the coordinate dependecy?