Jump to content

Recommended Posts

Hi All,

I am using selenium to automate the website. There is java script pop which is coming after clicking on button. I want to click first on "CONFIRM" button and the handle this pop up thru auoit script.



<form id="theForm2" onsubmit="return checkSubmit()" action="/AdminWeb/com/primustel/admin/presentation/guadmin/custMgt/cancelPageFlow/checkDID.do" method="post" name="confirmCancelForm">


<input type="image" src="/AdminWeb/resources/images/buttons/confirm.gif">


<script type="text/Javascript" language="Javascript">


// Build the netui_names table to map the tagId attributes

// to the real id written into the HTML

if (netui_names == null)

var netui_names = new Object();




Please help.



Link to post
Share on other sites

Thanks Sticky for replying.

Yes after clicking on button i want to handle/click on OK or cancel using autoit.

I tried this :


$title = WinGetTitle("[active]") ; retrives whole window title




but while that popup is active autoit returns main page as $title not the pop up.


Link to post
Share on other sites
  • 1 month later...

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...