Page 1 of 1

Can eValid test a app that draws pictures

PostPosted: Wed Mar 30, 2016 11:54 am
by RBerry
Afternoon.

I need help!

I need to test this app that can be used to draw pictures?

Can eValid do that and how well would it work?

Thanks

Re: Can eValid test a app that draws pictures

PostPosted: Thu Mar 31, 2016 10:25 am
by eValid
RBerry wrote:Afternoon.

I need help!

I need to test this app that can be used to draw pictures?

Can eValid do that and how well would it work?

Thanks


Thanks for posting RBerry.

The way a web application "draws pictures" is though what are called drag/drop events.

The technical difficulty with recording and playing drag/drop is that the recording has to be done at the desktop level.

At the present state of web technology you can't record events off the browser face that can be played back as a drag/drop.

eValid CAN do this, admittedly with difficulty, using Application Mode, which will make recordings that involve eValid commands like:

cLDrag -- records motion on the browser window face using "client coordinates" where 0,0 is the upper left hand corner of the browser window.

or

xyLDrag -- records motion on the window also using

There is also a windows orinted command, AbsMouseDrag, which records motion on the screen using screen coordinates, but this is not recommended for script portability reasons.

The hard part, however, is to record non-straight line.

These commands at playback time are intended to drag/drop an object, so they trace a straight line betwen x1,y1 and x2,y2.

The only way to draw a curved line is to use this multiple times...

-- eValid Support