Share
Go down
Mohamed Asarudeen
Posts : 1
Join date : 2011-04-20

How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Mon Nov 14, 2011 7:12 pm
Hi all,

While Running recorded scripts in selenium ide , i got an error--- [error] Element id=ui-active-menuitem not found,
in selecting the text from the lists which is dynamically loaded based on the text typed in the textbox..,
Please give me a solution to resolve this error... Smile



Regards,
Azhar
freesky
Amateur
Amateur
Posts : 72
Join date : 2011-04-13

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Tue Nov 15, 2011 7:51 am
do you have 'waitForElementPresent'?
MohamedAzharudeen
Active particpant
Active particpant
Posts : 16
Join date : 2011-10-19

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Tue Nov 15, 2011 12:41 pm
Hi,

Yes i have the command,how to use that command to clear this issue...

Regards,
Azhar
faramka
Professional
Professional
Posts : 143
Join date : 2011-09-15
Location : Poland

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Tue Nov 15, 2011 2:56 pm
Are you using jQuery Autocomplete plugin?

My code in PHP:
Code:
$this->typeKeys("InputWithPluginLocator", "something to seek");
$this->mouseOver("css=.ui-autocomplete li:first-child a");
$this->click("css=.ui-autocomplete li:first-child a");
sleep(3)
Above code simulates choice first element from autocomplete list.
MohamedAzharudeen
Active particpant
Active particpant
Posts : 16
Join date : 2011-10-19

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Tue Nov 15, 2011 4:53 pm
i tried using runscript() command, it works no error occured but selected data is not stored while running the testcase,

Is there any other way to solve this error?


Regards,
Azhar
faramka
Professional
Professional
Posts : 143
Join date : 2011-09-15
Location : Poland

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Tue Nov 15, 2011 5:03 pm
And what about my solution?
MohamedAzharudeen
Active particpant
Active particpant
Posts : 16
Join date : 2011-10-19

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Tue Nov 15, 2011 5:29 pm
Hi faramka,

Am not using jquery AutoComplete plugin, so i have no idea about that, sorry for the inconvienience,
faramka
Professional
Professional
Posts : 143
Join date : 2011-09-15
Location : Poland

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Tue Nov 15, 2011 5:56 pm
OK, so tell me, when exactly the message is shown?
When you are typing a text in the textbox (are you confirming this in some way?) or when you are selecting something from list?
And, at last, what plugin do you use, 'cause I don't think, that you called this element ui-active-menuitem.

Could you describe in points how it exactly should work? Smile
MohamedAzharudeen
Active particpant
Active particpant
Posts : 16
Join date : 2011-10-19

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Tue Nov 15, 2011 6:57 pm
i use selenium ide only for recording scripts, i got a error while playing the scripts...
faramka
Professional
Professional
Posts : 143
Join date : 2011-09-15
Location : Poland

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Tue Nov 15, 2011 9:02 pm
Sorry, I thought that you are using also Selenium RC, because you have posted this topic in Selenium RC Discussion subforum instead of Selenium IDE Discussion subforum.

And my question is: what your script should exactly do? Could you please describe it step by step, in points? It would be great and easier to understand the problem.
MohamedAzharudeen
Active particpant
Active particpant
Posts : 16
Join date : 2011-10-19

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Wed Nov 16, 2011 1:11 pm
i found the solution when selecting options from the list using keyboards for ex: typing java then Java developer is displayed in the list, i selected using down arrow key and pressing Enter key...

But the problem occurs by using mouse to select that option , clicking on Java developer...
faramka
Professional
Professional
Posts : 143
Join date : 2011-09-15
Location : Poland

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Wed Nov 16, 2011 3:46 pm
OK, I get it. When I was doing a simulation with using autocomplete, I also tried to do it with keyboard. But at last I made it with mouse (methods mouseOver() and click()).

Which jQuery plugin do you use?
MohamedAzharudeen
Active particpant
Active particpant
Posts : 16
Join date : 2011-10-19

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Wed Nov 16, 2011 4:43 pm
i use selenium ide, i got the result by using storeEval() and click() commands...
Thanks for the update.
faramka
Professional
Professional
Posts : 143
Join date : 2011-09-15
Location : Poland

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Wed Nov 16, 2011 5:51 pm
But in your app there is a jQuery plugin Smile Do you use Firefox and have you got Firebug installed? You know html at all? You'd check css attributes of option element in html code, and then use it as locator in mouseOver and click methods.
MohamedAzharudeen
Active particpant
Active particpant
Posts : 16
Join date : 2011-10-19

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Wed Nov 16, 2011 6:00 pm
ok i got it, thanks for the update...
faramka
Professional
Professional
Posts : 143
Join date : 2011-09-15
Location : Poland

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Wed Nov 16, 2011 6:09 pm
Let us know if you solved the problem Smile
MohamedAzharudeen
Active particpant
Active particpant
Posts : 16
Join date : 2011-10-19

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Wed Nov 16, 2011 6:55 pm
Message reputation : 100% (1 vote)
yes i solved using Firepath addon in firefox i got the xpath for an element id and using click method i solved it..
faramka
Professional
Professional
Posts : 143
Join date : 2011-09-15
Location : Poland

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

on Wed Nov 16, 2011 7:29 pm
OK, good Smile
Sponsored content

Re: How to resolve this error---->[error] Element id=ui-active-menuitem not found

Back to top
Permissions in this forum:
You cannot reply to topics in this forum