It is a Java Web Application, and its basically a JSP Page which gets dynamically populated through the Pick Helper Tag. This is the initial level script i had created, you can have a look at it:
# To use Pamie you must first create a new script or text file that you can saveas mytest.py. # This will import the class files so you can use it's methods #from ctypes import windll, c_string #import elementtree.ElementTree as ET from cPAMIE import PAMIE #from cModalPopUp import handlePopup # create a new instance of the PAMIE object ie = PAMIE( ) # Navigates to the Application if ie.navigate("http://localhost.ketera.com:8080/kcm/HomePage/HomePage.do"): print "URL Clicked" ie.textBoxSet("username", "[EMAIL PROTECTED]" ) #control name, value ie.textBoxSet("password", "abc123" ) #control name, value # Now Submit the form. if ie.imageClick("loginButton" ): print "Image Clicked" else: print "Image not Present" if ie.navigate(" http://localhost.ketera.com:8080/kcm/ListCatalogProcess/ViewProcessListCreateProcess.do" ): print "URL Clicked" ie.listBoxSelect("buyer", "AU Office") ie.imageClick("search-page.gif") on clicking this image, i get that Pop Up window and now i m in a fix what to do next as the browser is not able to identify the window, I tried the cModal Popup library but no help Amit On 7/24/07, Kent Johnson <[EMAIL PROTECTED]> wrote: > > Amit Saxena wrote: > > > I am trying to automate a Test Scenario using Python 2.5, in that > > particular scenario there is a Pop Up window which i am not able to > > handle, can you please help in that. > > > > For automation purposes, i am using PAMIE, ctypes and pywin32 libraries. > > More details might be helpful. What kind of window? What is the > application? In what way are you not able to handle the window? What > have you tried? > > Kent > -- Amit Saxena Senior QA Engineer Ketera Direct: +91 4199 5028 Mobile: +91 99001 18641 [EMAIL PROTECTED] » Visit us at http://www.ketera.com » Watch the demo at http://www.ketera.com/resources/demos.html
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor