04-17-2013, 01:10 AM
Hi,
I have the below line of codes in DP
Can i replace "" with a variable as mypage and use it as mypage.click?
If we cant use the above, can anyone let us know how to modify it ?
Thanks.
I have the below line of codes in DP
Code:
Set Dbrowser=description.Create
Dbrowser("micclass").value="Browser"
Dbrowser("title").value="Google"
Set Dpage=description.Create
Dpage("micclass").value="Page"
Dpage("title").value="Google"
Set DWebbutton = Desciption.create
DWebbutton("micclass").value="Webbutton"
DWebbutton("innertext")="Sign In"
Browser(Dbrowser).Page(Dpage).Webbutton(Dwebbutton).click
Can i replace "
Code:
Browser(Dbrowser).Page(Dpage).Webbutton(Dwebbutton)
If we cant use the above, can anyone let us know how to modify it ?
Thanks.