01-19-2016, 08:18 PM
(This post was last modified: 01-19-2016, 08:20 PM by robertosalemi.)
Hi,
I'm testing a web application.
In Firebug of Firefox, with this code I have to check the num of div with my className:
It displays 0.
In UFT I'm using this code:
exist is equals to 8.
Why is there this two different values?
Thanks.
I'm testing a web application.
In Firebug of Firefox, with this code I have to check the num of div with my className:
Code:
$(document).ready(function() {
alert( $('.blockPage').length );
});
In UFT I'm using this code:
Code:
Set loader = Browser("myApp").Page("myApp").Object.getElementsByClassName("blockPage")
var exist = Len(loader)
Why is there this two different values?
Thanks.