Results 1 to 2 of 2

Thread: Call specific actions in script

  1. #1
    Junior Member
    Join Date
    Jul 2008
    Answers
    5

    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.


  2. #2
    Junior Member
    Join Date
    Jul 2008
    Answers
    5

    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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact