Jump to content

Script Return value to its parent script(selenium).


Recommended Posts

Hi,

I need some help in here.

I am doing some automation in selenium, which needs use of autoit to handle some task.

My task is :

I have to click a link on Firefox so download dialog box(window popup not browser) will appear and (USE OF AUTOIT START HERE) than i have to open file(file is txt so will open in notepad). Now i have to assert that file has some particular line in that notepad file and have copy that text and send it to my selenium script.  While doing this My Selenium script should wait for the result, or may take input from autoit about that line. If that line is present script should move forward else should fail.

I am have automated upto opening my file in notepad but problem is how to get some return value from autoit (complete line if possible if not atleast some return value lik 0,1,2 etc)  and how to wait in selenium till that value comes.

Can you please help me with this.

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...