Hi, In QTP, is it possible to execute menu's in Home page?
NOTE : [I][This question was asked by madhu][/I]
Printable View
Hi, In QTP, is it possible to execute menu's in Home page?
NOTE : [I][This question was asked by madhu][/I]
hai friend,
Will you please let me know what you are expecting actually. Menu in home page really confused.
Thanks
Deepa
option explicit
dim a,b,c,odesc,i
set odesc=Description.create()
odesc("micclass").value="Link"
set a=Browser("name:=Google").page("name:=Google").Childobjects(Odesc)
b=a.count
for i=1 to b step 1
set a=Browser("name:=Google").page("name:=Google").Childobjects(Odesc)
a(i).Click
next
"here it will count all links in the Home page and depending upon the loop it will click all links
it is sample example,try same code with your menus application. it will work or else correct me.