Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

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

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
avatar
freesky
Amateur
Amateur
Posts : 72
Join date : 2011-04-13

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

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

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

Tue Nov 15, 2011 12:41 pm
Hi,

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

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

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

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.
avatar
MohamedAzharudeen
Active particpant
Active particpant
Posts : 16
Join date : 2011-10-19

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

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
avatar
faramka
Professional
Professional
Posts : 143
Join date : 2011-09-15
Location : Poland

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

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

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

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,
avatar
faramka
Professional
Professional
Posts : 143
Join date : 2011-09-15
Location : Poland

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

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
avatar
MohamedAzharudeen
Active particpant
Active particpant
Posts : 16
Join date : 2011-10-19

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

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

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

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.
avatar
MohamedAzharudeen
Active particpant
Active particpant
Posts : 16
Join date : 2011-10-19

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

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...
avatar
faramka
Professional
Professional
Posts : 143
Join date : 2011-09-15
Location : Poland

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

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?
avatar
MohamedAzharudeen
Active particpant
Active particpant
Posts : 16
Join date : 2011-10-19

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

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.
avatar
faramka
Professional
Professional
Posts : 143
Join date : 2011-09-15
Location : Poland

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

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.
avatar
MohamedAzharudeen
Active particpant
Active particpant
Posts : 16
Join date : 2011-10-19

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

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

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

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

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

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..
avatar
faramka
Professional
Professional
Posts : 143
Join date : 2011-09-15
Location : Poland

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

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

How to resolve this error---->[error] Element id=ui-active-menuitem not found Empty 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