How to select a menu

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skeerthi
    New Member
    • Oct 2008
    • 5

    How to select a menu

    Hi

    I m new to python.. Could anyone guide me for testing my project. how to select a menu and sub menu in web application. And also guide me how to select a radio button in the application.
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    Are you refering to having default selections in the HTML code? If so, that is more of an HTML question. Please clarify and post sample code if you have any.

    Regards,

    Jeff

    Comment

    • skeerthi
      New Member
      • Oct 2008
      • 5

      #3
      Originally posted by numberwhun
      Are you refering to having default selections in the HTML code? If so, that is more of an HTML question. Please clarify and post sample code if you have any.

      Regards,

      Jeff
      Hi

      I m using eclipse for python. I m trying to test my project using the python and pamie automation tool.

      i wrote the code as show below:
      Code:
      from cPAMIE import PAMIE
      
      ie =PAMIE()
      ie.navigate('URL of web page')
      ie.linkClick('Member Login')
      ie.textBoxSet('txt_userid', 'aaaaaaaaa')
      ie.textBoxSet('txt_pwd', 'aaaaaaaa')
      ie.buttonClick("Sign In")
      
      
      # URL to navigate to the page where we can add and search members name.
      # i m using URL since i m not able to select menu.
      ie.navigate('URL') 
      ie.textBoxSet('txtMemberSearch', '543')
      ie.radioButtonGetSelected('icnum')
      ie.buttonClick('Search')
      for selecting the radio button i used both radioButtonGetS elected('name') and radioButtonGet( 'name') but radio button is not getting selected... could you please help me to solve this problem.
      Last edited by numberwhun; Oct 14 '08, 02:19 PM. Reason: Please use code tags

      Comment

      Working...