473,387 Members | 1,611 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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.
Oct 14 '08 #1
2 1778
numberwhun
3,509 Expert Mod 2GB
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
Oct 14 '08 #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
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:
Expand|Select|Wrap|Line Numbers
  1. from cPAMIE import PAMIE
  2.  
  3. ie =PAMIE()
  4. ie.navigate('URL of web page')
  5. ie.linkClick('Member Login')
  6. ie.textBoxSet('txt_userid', 'aaaaaaaaa')
  7. ie.textBoxSet('txt_pwd', 'aaaaaaaa')
  8. ie.buttonClick("Sign In")
  9.  
  10.  
  11. # URL to navigate to the page where we can add and search members name.
  12. # i m using URL since i m not able to select menu.
  13. ie.navigate('URL') 
  14. ie.textBoxSet('txtMemberSearch', '543')
  15. ie.radioButtonGetSelected('icnum')
  16. ie.buttonClick('Search')
  17.  
for selecting the radio button i used both radioButtonGetSelected('name') and radioButtonGet('name') but radio button is not getting selected... could you please help me to solve this problem.
Oct 14 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: work4u | last post by:
My case is from the client site web page, there is a select menu, on a form, which dynamically show all data from a database But the data under this select menu which need to follow a rule which...
5
by: Reestit Mutton | last post by:
Hi, I'm currently learning the ropes with CSS, PHP, MYSQL, Javascript etc... by redesigning my website as a database driven site. Okay, so I'm skilled at perl, data manipulation and data...
2
by: Joachim Bauer | last post by:
I'm using the code below to display a menu that opens when the mouse goes over the main menu item (try it in your browser to understand the behaviour). It uses "position:absolute" and a switch...
1
by: Wouter | last post by:
Hi, I would like to make a dropdown menu. When a user select something i want to use his selection in PHP for a next dropdown menu. When the user has selected something in the second dropdown...
6
by: tuxedo | last post by:
I have a fixed html structure, where only one form and a simple select menu will exist on an html page, as follows: <form action="order" method="POST"> <select name="dinner"> <option...
9
chunk1978
by: chunk1978 | last post by:
hey everyone, i've been trying to solve this problem for 2 days straight, with no end in sight. i would greatly appreciate anyone's help. EXPLANATION: There are 3 Select Menus. The 1st and...
3
by: sangam56 | last post by:
Hello!I am using following sql statement: SELECT Menu.MenuID,Menu.TextUrl FROM Menu WHERE Menu.MenuID= (SELECT Permissions.MenuID FROM Permissions WHERE Permissions.RoleID=(SELECT Roles.RoleID...
9
by: Thom Little | last post by:
Using C# 3.5 I want to select a value from an XML file. The intent of the following is to print "EpsilonGamma". It does not work. Can you point out my probably very obvious error? XmlDocument...
6
by: dbuchanan | last post by:
There are three parts to this 1.) How do I cascade menus? 2.) And, how do I cascade menus with a multi-select CheckBoxList?
6
by: phpnewbie26 | last post by:
My current form has one multiple select drop down menu as well as few other drop down menus that are single select. Originally I had it so that the multiple select menu was first, but this created...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.