Click events are not being executed

How to apply eValid to functional testing of web applications.

Click events are not being executed

Postby RNalder » Wed Nov 30, 2016 7:18 pm

Evening.

I need help on resolving this issue, where my click event waiting for complete page to load.

However after click, events are not getting executed.

Please help.
RNalder
 
Posts: 1
Joined: Wed Nov 30, 2016 7:09 pm

Re: Click events are not being executed

Postby eValid » Thu Dec 01, 2016 12:25 pm

RNalder wrote:Evening.

I need help on resolving this issue, where my click event waiting for complete page to load.

However after click, events are not getting executed.

Please help.


Thanks for posting RNalder.

This is a common problem.

You have the right DOM index, and the right type of event (a mouse click) to fire (same as saying, test action to take), but the page isn't ready.

And, of course, when you click on an DOM element that may not even exist, there's not telling what'll happen.

Probably the test will the ruined and you may see a FAIL as a false negative.

The easiest way to solve this kind of synchronization is to first synchronize on the SAME DOM element upon which you want to plant a click.

All you need to do then is to issue a command like this:

SyncOnElementProperty wid DOM-Name and DOM-Value [frame-path]

This is a very powerful synchronization loop, because it will wait until the named property appears without you having to even to know the index where it will appear.

The only thing you have to do is assure that the property name is unique...probably the DOM ID value will be the right thing.

The full details of this kind of synchronization are given here:

http://www.e-valid.com/Products/Documen ... n.dom.html

We know this to be a very reliable synchronization method.


-- eValid Support
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Desktop and Mobile Device Functional Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons