Re: [selenium-users] Abridged summary of selenium-users@googlegroups.com - 15 updates in 6 topics

14 views
Skip to first unread message

nabanita sarker

unread,
Jul 30, 2015, 7:24:38 AM7/30/15
to seleniu...@googlegroups.com
Hi,

I am new to selenium and could not able to log in using id locator. Please help on this 

div id="loginTable" class="screen">
<div id="loginHeader"></div>
<div id="mainContent"><div id="Login" class="content"><div id="Login:LoginScreen:ttlBar" class="screentitle"><span><span

Getting error as below:
Exception in thread "main" org.openqa.selenium.NoSuchElementException: no such element
Thanks,
Nabanita Sarker


On Mon, Jul 27, 2015 at 10:52 PM, <seleniu...@googlegroups.com> wrote:
anuj garg <anuj8...@gmail.com>: Jul 26 09:10PM -0700

Hello All,
 
I am getting exception as "*Exception in thread "main"
org.openqa.selenium.StaleElementReferenceException: Element is no longer
attached to the DOM*" when I tried to find and click ...more
Sonia saini <sonia...@gmail.com>: Jul 27 12:26PM +0530

You get StaleElementReferences exception when your element is not visible
to selenium
Try to grab element first then perform action on it.
Sudo code:
 
Grab element
...more
Mercious <hart...@gmx.de>: Jul 27 12:23AM -0700

You might also want to try By.className("icosearch") instead.
...more
Kaleem Uddin Mohammed Abdul <makale...@gmail.com>: Jul 27 01:03AM -0700

The problem is here, their is no break statement in foreach loop. Because
of this, the code is trying to get the innertext even their is no date
widget is available (after clicking on 28th day). ...more
anuj garg <anuj8...@gmail.com>: Jul 27 08:36AM -0700

@Kaleem Thanks !! break statement worked for me.But again one question why
it is showing StaleElement reference Exception for Date picker only?Why not
for source and destination station because ...more
Kaleem Uddin Mohammed Abdul <makale...@gmail.com>: Jul 27 10:21AM -0700

Development team didn't implemented the code to disable or remove or
unselect the autocomplete suggestion for Destination and Source. But they
have made disabled and unselectable the Date picker. ...more
Kaleem Uddin Mohammed Abdul <makale...@gmail.com>: Jul 27 06:18AM -0700

The following are the issues which I'm facing
*1. WebDriver.Quit() method throws below error when running test case using
Selenium Grid. Whereas Driver.Close() works fine but I need to use Quit ...more
Krishnan Mahadevan <krishnan.ma...@gmail.com>: Jul 27 08:44PM +0530

- For issue #1, the error states that it cant find the executable
"taskkill". What OS is this ?
 
17:25:17.993 WARN - Exception thrown
java.lang.RuntimeException: Process refused to die after 10 ...more
Kaleem Uddin Mohammed Abdul <makale...@gmail.com>: Jul 27 09:48AM -0700

Thanks Krishna for replying at the earliest. PFB my response to your
questions.
Issue#1:
 
 
Issue#2.
I will try later and I don't see much difference except you are having
these parameters in ...more
Kaleem Uddin Mohammed Abdul <makale...@gmail.com>: Jul 27 09:58AM -0700

Sorry for the spam, I attached the screen shot for issue1 but it is missing.
 
Thanks Krishna for replying at the earliest. PFB my response to your
questions.
Issue#1:
OS-Windows 8.1
Bit-64 ...more
Milan Yadav <milan.k...@gmail.com>: Jul 27 06:01AM -0700

Try $(".category").textContent in console.
 
On Wednesday, 1 July 2015 18:55:35 UTC+5:30, SeleniumMember wrote:
...more
Mercious <hart...@gmx.de>: Jul 27 12:29AM -0700

In this context, i really wish Selenium and the drivers would implement
something that allows to search something like
By.attributeWithNameEquals("role","option");.
 
Something along these lines. ...more
Jim Evans <james.h....@gmail.com>: Jul 27 02:27AM -0700

Actually, with the exception of the link text locators, all of the other locator methods translate directly into functions available in JavaScript. To wit:
 
id = document.getElementById() ...more
antti...@exove.com: Jul 27 12:36AM -0700

I have had the same trouble for a long time now, here's the details of my
problem:
...more
Sonia saini <sonia...@gmail.com>: Jul 26 10:44PM +0530

Try to use below CSS and execute in developer tool in chrome. It will give
you all elements which have span class.
$(".Marker_Button span[class]");
 
If you want to click on specific element us ...more
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to selenium-user...@googlegroups.com.

Kaleem Uddin Mohammed Abdul

unread,
Aug 3, 2015, 1:54:52 AM8/3/15
to Selenium Users
I too faced the same problem once, the problem was ID was generated dynamically and I found this issue while debugging i.e. locate element after Selenium launch FireFox Driver.

On Thursday, July 30, 2015 at 4:54:38 PM UTC+5:30, nabanita sarker wrote:
Hi,

I am new to selenium and could not able to log in using id locator. Please help on this 

div id="loginTable" class="screen">
<div id="loginHeader"></div>
<div id="mainContent"><div id="Login" class="content"><div id="Login:LoginScreen:ttlBar" class="screentitle"><span><span

Getting error as below:
Exception in thread "main" org.openqa.selenium.NoSuchElementException: no such element
Thanks,
Nabanita Sarker

On Mon, Jul 27, 2015 at 10:52 PM, <seleniu...@googlegroups.com> wrote:
Reply all
Reply to author
Forward
0 new messages