Hi Mathew,
You can click on the buttons that display Delete, Spam etc using:
ie.button(:value, "Delete").
So all <input type="submit"> tags you can access using this way.
If you want to select an option like 'Mark as Read' you can use:
ie.select_list(:name, "top_read_unread").select("Mark as Read")
Let me know if this works.
Regards,
Angrez
On 3/20/07, Mathew Jacob <[EMAIL PROTECTED]> wrote:
Hi Angrez,
Thanks your response. I wanted to simulate the operation to
click on Menu button. It displays button menu. Then I need to click on any
of the option in button menu.
Regards,
Mathew
* *
*Ya**ho**o India, EGL, Bangalore – 71, Phone:+91-80-30516346,
Mobile:+91-9945849925*
------------------------------
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Angrez Singh
*Sent:* Tuesday, March 20, 2007 5:08 PM
*To:* [email protected]
*Subject:* Re: [Wtr-general] 'getObject' command
Hi Mathew,
What you want to select in the menubutton? What operation you want to do?
The HTML contains usual <select> and <input> control that you can access
using ie.select_list and ie.button respectively.
Let me know what you want to do so that I can help you further.
Regards,
Angrez
On 3/20/07, *Mathew Jacob* < [EMAIL PROTECTED]> wrote:
Hi Angrez,
It is an object 'Menu button'. This object is an Menu
Button and contains two options on it. Attached is the HTML code of this
button.
div>
<noscript>
<div id="contentbuttonbartop" class="contentbuttonbar">
<span class="first"> <input type="submit" class="inputbutton"
name="top_bpress_delete"
value ="Delete"
title="Delete selected Message(s)"> <input type="submit"
class="inputbutton" name="top_bpress_spam"
value="Spam"
title="Mark selected Message(s) as Spam"> <select
name="top_read_unread" class="dropdown">
<option value="0">Mark as Unread</option>
<option value="1">Mark as Read</option>
</select>
<input type="submit" class="inputbutton" name="top_bpress_topmark"
value = "Mark"
title="Mark selected Message(s)"> <select
name="top_move_select" style="width:125px" class="dropdown">
*Regards,*
*Mathew*
* *
* *
*Ya ho**o India, EGL, Bangalore – 71, Phone:+91-80-30516346,
Mobile:+91-9945849925*
------------------------------
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
*On Behalf Of *Angrez Singh
*Sent:* Friday, March 16, 2007 6:23 PM
*To:* [email protected]
*Subject:* Re: [Wtr-general] 'getObject' command
Hi,
Can you be more specific like what kind of object is it? Whats the HTML of
the page? etc etc.
The information you provided is not sufficient enough for anyone to be
able to help you.
Regards,
Angrez
On 3/16/07, *Mathew Jacob* <[EMAIL PROTECTED]> wrote:
There is one object in browser page. Can I use the command
'getObject(how, what, types, value=nil)' to recognize that object. How we
can implement this.
mjk
* *
*Ya ho **o India, EGL, Bangalore – 71, Phone:+91-80-30516346,
Mobile:+91-9945849925*
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general