Thanks for the help.
Following is the page source.
body
div class=main !-- main --
div class=header-container !-- header --
div class=header
div class=actions
welcome a href=/profile/nikeman alt=nikeman
class=underline
I tried all the methods below, they work:
1. $ie.link(:after?, $ie.image(:title, Photogallerysanity1)).click
2. $ie.link(:after?, $ie.image(:alt, Photogallerysanity1)).click
3. $ie.link(:after?, $ie.image(:src, /s3.amazonaws.com
\/staging-brandpotion-prints/)).click
4. $ie.image(:alt,
Thanks Wesley,
I will try it out and let you know.
Thanks for thee help. :-)
2009/10/23 Wesley Chen cjq@gmail.com
I tried all the methods below, they work:
1. $ie.link(:after?, $ie.image(:title, Photogallerysanity1)).click
2. $ie.link(:after?, $ie.image(:alt, Photogallerysanity1)).click
On Thu, Oct 22, 2009 at 10:05 AM, Amit Kulkarni amitkkulkarni...@gmail.com
wrote:
i want to recognize this Edit link using the image title.
browser.link(:after?, browser.image(:title, Photogallerysanity)).click
Željko
--
http://watirpodcast.com/
Hi Željko,
I tried browser.link(:after?, browser.image(:title,
Photogallerysanity)).click but no success
I also tried using .flash method but it does not flash anything.
Can you please tell me what is going wrong?
On Thu, Oct 22, 2009 at 1:40 PM, Željko Filipin
zeljko.fili...@wa-research.ch
On Thu, Oct 22, 2009 at 12:36 PM, Amit Kulkarni amitkkulkarni...@gmail.com
wrote:
I tried browser.link(:after?, browser.image(:title,
Photogallerysanity)).click but no success
Amit,
You have posted a few very similar questions in the last two days. Have you
read the tutorial?
Sorry for the trouble.
I got it that my queries are similar.
But i dont know why is it not working on my side.
No my application does not use frames.
Even i try to flash any object it does not.
Can you tell me what is the problem?
On Thu, Oct 22, 2009 at 4:17 PM, Željko Filipin
On Thu, Oct 22, 2009 at 1:10 PM, Amit Kulkarni amitkkulkarni...@gmail.com
wrote:
Even i try to flash any object it does not.
Can you tell me what is the problem?
No.
It could help if the application is public and you provided the link to it,
so I could take a look.
Željko
Sorry again,
Yes i read the tutorial.
I tried some stunts but no success.So posted my queries here.
On Thu, Oct 22, 2009 at 4:48 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Thu, Oct 22, 2009 at 12:47 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
Have you read the
I also tried to use using Xpath. i.e.
Browser.link(:xpath,//a...@href='/Nikes/photo_gallery/attachments/218/edit?media=print']/).text
# = Edit
Still no success.Is there something wrong with the above code?
On Thu, Oct 22, 2009 at 4:55 PM, Amit Kulkarni
amitkkulkarni...@gmail.comwrote:
Sorry
can you try this?
Browser.link(:xpath,//i...@title='Photogallerysanity']/a).flash() or
click()
- Angrez
On Thu, Oct 22, 2009 at 5:03 PM, Amit Kulkarni
amitkkulkarni...@gmail.comwrote:
I also tried to use using Xpath. i.e.
Hi Angrez,
I tried with the link you provided but it shows below error
Unable to locate element, using :xpath,
//i...@title='Photogallerysanity']/
(Watir::Exception::UnknownObjectException)
Same error appears when i use .click or .flash
On Thu, Oct 22, 2009 at 5:14 PM, Angrez Singh
Your this question has taken so much time.
I think you still have not described your question clearly enough.
For the html code you provided, of course it is easy for us to help you to
locate.
Please give us the whole page source you failed to locate, and show the
error message you got.
13 matches
Mail list logo