Test scripts click on a page element that's not visible?

Applying eValid to AJAX applications that require advanced DOM-based methods.

Test scripts click on a page element that's not visible?

Postby OwenKim » Mon Aug 26, 2013 3:58 pm

Can eValid test scripts click on a page element that's not visible? How do you do this?
OwenKim
 
Posts: 1
Joined: Mon Aug 26, 2013 3:54 pm

Re: Test scripts click on a page element that's not visible?

Postby eValid » Mon Sep 16, 2013 11:22 am

Very good question and to answer it requires revealing some details about how eValid is implemented.

The main fact you need here is this: Every web page has a lot of elements, and not every property of every element is visible on the page that is rendered to you to view as a human user.

But in eValid, if you want to click on a property in an element in a web page, there's no requirement that that be actually meaningful.

If you record from that web page and you record and "element click" the presumption is that that action has caused a reaction from the website...in other words, that the element really is live. But that's only if you make a recording "from life". If you alter the recording to have eValid direct the "element click" to some OTHER element, well, eValid doesn't care because it is a computer program that doesn't care about your intentions: if that's what you want, then eValid will do it.

Finally, whether an element is visible or invisible does not have ANYTHING to do with whether you can send a click even to it. Even if on that particular web page the element isn't visible at all, no problem, eValid can send a click to it in any case.

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


Return to AJAX Applications & DOM Processing

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