I figure out this by myself, if you are interested to know the answer, please look at here:
automation.youplayoff.com/2010/06...youplayoff-com/
there is some highlights:
How can I make step 2 and step 4?
For step 2, each iteration will use different page A, then how can I click on [Sign in] from different pages?
answer:
21.'From the page opened above, click the "Sign In" link
22.
For step 4, since step 3 is a call of existing action, and they will return to different pages. How can I get the value of page links for these different return pages? web page
answer:
Case Else
60.61. 62.
automation.youplayoff.com/2010/06...youplayoff-com/
there is some highlights:
How can I make step 2 and step 4?
For step 2, each iteration will use different page A, then how can I click on [Sign in] from different pages?
answer:
21.'From the page opened above, click the "Sign In" link
22.
Code:
Browser("YouPlayoff - Create and").Page("url:=" & PageURL).Link("text:=" & SignInText).Click
For step 4, since step 3 is a call of existing action, and they will return to different pages. How can I get the value of page links for these different return pages? web page
answer:
Case Else
60.
Code:
Browser("YouPlayoff - Create and").WinEdit("Edit").Check CheckPoint("RedirectToPreviousPage")
Code:
Browser("YouPlayoff - Create and").Page("url:=" & PageURL).Link("text:=" & SignOutText).Click