At present in my Web Page I can See a lot of divs and i access them
using indexes using this code
ie.div(:text = 'div',:index =1).click
ie.div(:text = 'div',:index =2).click
ie.div(:text = 'div',:index =3).click
ie.div(:text = 'div',:index =4).click
Is there any way I can click on the last Index
Hi,
Assume that there are 2 frames, A and B.
I click a link in A, the server send the html to frame B.
That html includes onload action to its body tag and that onload
action submits hidden form.
The result of the submit of the hidden form, the server send a new
html including frames.
I could
Do you have any other attribute value other than :text='div' ? Like class
or ID . If you have any other value you can directly use them.
-K
On Fri, Jun 25, 2010 at 6:33 PM, Ajitesh Srinetra
ajitesh.srine...@gmail.com wrote:
At present in my Web Page I can See a lot of divs and i access them
On Fri, Jun 25, 2010 at 3:03 PM, Ajitesh Srinetra
ajitesh.srine...@gmail.com wrote:
Is there any way I can click on the last Index directly like
ie.div(:text = 'div',:index =Last).click
I do not think we have something like that.
Maybe you would be able to do it with xpath:
Hi,
Anyone can guide me?
I am struck in calender.
Regards,
Naresh
On Jun 25, 4:44 pm, naresh nareshvatsa...@gmail.com wrote:
Hi ,
s:decorate id=endDateDecorate template=../layout/edit.xhtml
ui:define name=label#{label.title_end_date}:/ui:define
rich:calendar
On Mon, Jun 28, 2010 at 12:54 PM, naresh nareshvatsa...@gmail.com wrote:
Anyone can guide me?
I am struck in calender.
Which HTML element do you need to access (click, set...) in the HTML you
have provided?
Željko
--
Before posting, please read http://watir.com/support. In short: search
Or, you could do it like this which is not so good anyway:
ie.divs.find_all {|div| div.text == div}.last.click
Better add some id, name, class or whatever attributes to the divs to
make it more robust and more readable.
Jarmo
On Jun 28, 11:31 am, Željko Filipin zeljko.fili...@wa-research.ch
i want to click calender and select date 28-May-2010.
On Jun 28, 3:59 pm, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Mon, Jun 28, 2010 at 12:54 PM, naresh nareshvatsa...@gmail.com wrote:
Anyone can guide me?
I am struck in calender.
Which HTML element do you need to access
On Mon, Jun 28, 2010 at 1:22 PM, naresh nareshvatsa...@gmail.com wrote:
i want to click calender
I am asking what do you need to click. Do you know how to use a tool like
Firebug?
http://getfirebug.com/
Željko
--
Before posting, please read http://watir.com/support. In short: search before
Hi All,
i am using internet explorer to test my web application.
I have to click save button in my application to create record.
I am able to set value for textfield,radibutton,selectlist in watir
script ,
but not able to set/pickup value for calender.
This calender is rich calenderrich:calender
I've just got my bachelor's degree from the school with the thesis of
Web Applications’ User Interface Based Testing Automation.
Unfortunately it is written in Estonian, so no point of giving the
link in here i guess :P
Anyway, also capture/replay was a small topic in the thesis, that's
why I
On Mon, Jun 28, 2010 at 2:29 PM, Jarmo Pertman jarm...@gmail.com wrote:
I've just got my bachelor's degree
Congratulations! :)
Željko
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because you are subscribed to
Ajitesh,
While I'm not sure why you would click on a div,
but here's one way you could click on the last one:
# Get the total number of the div elements on the page
iLastDivIndex = browser.divs.length
# Click on the last div element
browser.div(:index, iLastDivIndex).click
Joe
On Jun 25,
Hi Joe
We have a complex GUI with the ext Frame work
This is having a lot of divs.Now coming to the solution iLastDivIndex
= browser.divs.length with fetch the index of the last div in the
page
But what I want is the index of the div with text div.
Thanks and Regards
Ajitesh Srinetra
On Mon,
I've used ie.speed = :zippy to speed up text box input but it appears
when my scripts enable a checkbox this causes form entry to slow down
(i.e the checkbox turns yellow and prevents the next field from being
filled out for a moment). I was wondering if there was anything I
could do to speed this
15 matches
Mail list logo