Quantcast
Channel: Micro Focus QTP (UFT) Forums - All Forums
Viewing all articles
Browse latest Browse all 1653

Using static descriptive programming how to count no. of objects on any webpage

$
0
0
Hi,
I wanted to count no. of objects on Google homepage using static programming, i mean without creating object first(the way we do in dynamic one).


Pls tell me what is wrong in below statement


Code:
Set P = Browser(creationtime=0).page(tile=Google).WebButton(type=submit, html tag=INPUT)

MsgBox P.Count()




Pls help

Thanks

Viewing all articles
Browse latest Browse all 1653

Trending Articles