Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

View previous topic View next topic Go down

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

Post by Mohamed Asarudeen 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

Mohamed Asarudeen

Posts : 1
Join date : 2011-04-20

Back to top Go down

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

Post by freesky on Tue Nov 15, 2011 7:51 am

do you have 'waitForElementPresent'?

freesky
Amateur
Amateur

Posts : 72
Join date : 2011-04-13

Back to top Go down

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

Post by MohamedAzharudeen 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

MohamedAzharudeen
Active particpant
Active particpant

Posts : 16
Join date : 2011-10-19

Back to top Go down

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

Post by faramka 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.

faramka
Professional
Professional

Posts : 143
Join date : 2011-09-15
Location : Poland

Back to top Go down

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

Post by MohamedAzharudeen 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

MohamedAzharudeen
Active particpant
Active particpant

Posts : 16
Join date : 2011-10-19

Back to top Go down

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

Post by faramka on Tue Nov 15, 2011 5:03 pm

And what about my solution?

faramka
Professional
Professional

Posts : 143
Join date : 2011-09-15
Location : Poland

Back to top Go down

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

Post by MohamedAzharudeen 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,

MohamedAzharudeen
Active particpant
Active particpant

Posts : 16
Join date : 2011-10-19

Back to top Go down

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

Post by faramka 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

faramka
Professional
Professional

Posts : 143
Join date : 2011-09-15
Location : Poland

Back to top Go down

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

Post by MohamedAzharudeen on Tue Nov 15, 2011 6:57 pm

i use selenium ide only for recording scripts, i got a error while playing the scripts...

MohamedAzharudeen
Active particpant
Active particpant

Posts : 16
Join date : 2011-10-19

Back to top Go down

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

Post by faramka 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.

faramka
Professional
Professional

Posts : 143
Join date : 2011-09-15
Location : Poland

Back to top Go down

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

Post by MohamedAzharudeen 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...

MohamedAzharudeen
Active particpant
Active particpant

Posts : 16
Join date : 2011-10-19

Back to top Go down

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

Post by faramka 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?

faramka
Professional
Professional

Posts : 143
Join date : 2011-09-15
Location : Poland

Back to top Go down

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

Post by MohamedAzharudeen 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.

MohamedAzharudeen
Active particpant
Active particpant

Posts : 16
Join date : 2011-10-19

Back to top Go down

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

Post by faramka 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.

faramka
Professional
Professional

Posts : 143
Join date : 2011-09-15
Location : Poland

Back to top Go down

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

Post by MohamedAzharudeen on Wed Nov 16, 2011 6:00 pm

ok i got it, thanks for the update...

MohamedAzharudeen
Active particpant
Active particpant

Posts : 16
Join date : 2011-10-19

Back to top Go down

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

Post by faramka on Wed Nov 16, 2011 6:09 pm

Let us know if you solved the problem Smile

faramka
Professional
Professional

Posts : 143
Join date : 2011-09-15
Location : Poland

Back to top Go down

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

Post by MohamedAzharudeen on Wed Nov 16, 2011 6:55 pm

yes i solved using Firepath addon in firefox i got the xpath for an element id and using click method i solved it..

MohamedAzharudeen
Active particpant
Active particpant

Posts : 16
Join date : 2011-10-19

Back to top Go down

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

Post by faramka on Wed Nov 16, 2011 7:29 pm

OK, good Smile

faramka
Professional
Professional

Posts : 143
Join date : 2011-09-15
Location : Poland

Back to top Go down

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

Post by Sponsored content Today at 8:52 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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