Hi,
I have the below line of codes in DP
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 "Browser(Dbrowser).Page(Dpage).Webbutton(Dwebbutton)" 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
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 "Browser(Dbrowser).Page(Dpage).Webbutton(Dwebbutton)" 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.