10-11-2010, 06:44 PM
I have one action for each page in my Web app called ActionPage1, ActionPage2 ...etc.
All pages (actions) except last page have Next buttons, and thats the problem, because if the script clicks next, the script "thinks" that the next page is 3, but its actually 4. What i need the script to do is:
1. Identify the page, could be by checking if a specific text exists
2. If text exists (meaning page 3 is not skipped), the script should perform as usual on page 3 (could be verify text).
3. If text does not exist (meaning page 3 is skipped), the script should ignore the code on page 3 and perform the code of page 4 (ActionPage4)
All pages (actions) except last page have Next buttons, and thats the problem, because if the script clicks next, the script "thinks" that the next page is 3, but its actually 4. What i need the script to do is:
1. Identify the page, could be by checking if a specific text exists
2. If text exists (meaning page 3 is not skipped), the script should perform as usual on page 3 (could be verify text).
3. If text does not exist (meaning page 3 is skipped), the script should ignore the code on page 3 and perform the code of page 4 (ActionPage4)