Unable to locate mesage in inbox using Selenium RC
I am new to Selenium and need a help...
I am developing a script using Selenium RC+JUnit+Eclipse to open my Gmail and to click a message in Inbox, then after to read its body, if any link is there in body then click it.
But am stuck at finding message in inbox.
I used XPath to locate the message....but while running the script its not finding that message with that path.
I have just covered scripting of login to gmail as of now...so not sharing the code!! [img]/images/graemlins/smile.gif[/img]
Can anybody plz help me to solve this problem...its v v very [stupid is as stupid does] task for me...plz [img]/images/graemlins/smile.gif[/img]
Re: Unable to locate mesage in inbox using Selenium RC
Thanks for ur reply...
Yes am using XPath for clickAt fumction..
and its not working at all....
If i dont use XPath in clickAt ...then what to use.... plz help..
What i did is... i changed Gmail to HTML mode... then am able to click my emails by..
System.out.println("Message is clicked");
selenium.click("link=« Back to Inbox");
System.out.println("Moving back to inbox");
But my requirement is to work on standard mode of Gmail.. i hav no clue how to achieve it...