Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Customizing Descriptive Programming
#1
Not Solved
Hi,

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)
" 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.
Reply


Messages In This Thread
Customizing Descriptive Programming - by chitu576 - 04-17-2013, 01:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Regular expression in descriptive programming testernc 1 16,415 12-08-2014, 06:38 PM
Last Post: anshika.agarwal

Forum Jump:


Users browsing this thread: 1 Guest(s)