-
Junior Member
Call specific actions in script
Hi,
I am using the web Flight reservation application and have used descriptive programming completely.
Divided my script into foll actions - Login, Flight Finder, Select Flight, Book Flight, Confirm Booking (which invokes Flight finder page at end). I do not want to execute Login again in next iteration; but after Confirm booking action, go back to Flight Finder and so on (i am using local data sheets for iteration).
But if i run my script, the foll happens:
Login, Flight Finder, Select Flight, Book Flight, Confirm Booking , Flight finder.
A new instance of IE opens with Login, Flight Finder etc. Naturally the script fails.
How can i execute login action only once and keep looping between Flight Finder, Select Flight, Book Flight, Confirm Booking,Flight finder..etc for every iteration.
Thanks in advance.
-
Junior Member
Re: Call specific actions in script
Hi, is there nobody who can reply?
Let me re phrase my query.
I have 4 reusable actions - Action 1,2,3,4
Now i want to run Action 1 only once in the beginning (login) and then action 2-3-4 followed by Action 2-3-4 again as many times as required.How do I get about it?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules