This is a migrated thread and some comments may be shown as answers.

Find expression problem in FireFox 3.6.3

3 Answers 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marcin Dziedzic
Top achievements
Rank 1
Marcin Dziedzic asked on 05 May 2010, 09:37 AM

Hello, 

I'm getting some strange problem since I updated my FireFox from 3.5.5 to 3.6.3 last week. When I'm looking for element like this : 

<span xmlns="" class="label_url_addDiscount_constant">
<a href="/PA_Klient_Finanse_Rabaty_DodajRabat_Staly.html?clientID=456083">
<img border="0" src="/buttons/pierwszy/dodaj rabat stały.gif" alt="dodaj rabat stały"/>
</a>
</span>

using code similiar to 

Element el = find.ByExpression("alt=dodaj rabat stały");
actions.Click(el);

i got exception 

'2010-05-05 10:21:54.265 ' - [Trace] : Exception: ExecuteCommandException Message: ExecuteCommand failed!
InError set by the client. Client Error:
mozCommandProcessor: FindElement(): Tag collection is either empty or has less elements than the element occurrence requested.TagName: a4:img, Occurrence Requested: 0, All Tags Collection length: 0
BrowserCommand (Type:'Information',Info:'ElementRectangle',Action:'NotSet',Target:'ElementId (tagName: 'a4:img',occurrenceIndex: '0')',Data:'',ClientId:'Client_4a2adc76-44ce-4b9e-8e28-1c16bc02a364',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'mozCommandProcessor: FindElement(): Tag collection is either empty or has less elements than the element occurrence requested.TagName: a4:img, Occurrence Requested: 0, All Tags Collection length: 0')
InnerException: none.

This happend only in FireFox 3.6.3 in older FF version (3.5.5) everything is fine. 

3 Answers, 1 is accepted

Sort by
0
Missing User
answered on 05 May 2010, 11:02 PM
Hello Marcin,

Thanks for the post, I was able to reproduce this with your code

I tried to come up with a work around, but could not come up with anything.

I'll log a bug for this and we'll look to see what maybe going on.

Best wishes,
Nelson Sin
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Marcin Dziedzic
Top achievements
Rank 1
answered on 06 May 2010, 07:47 AM
Ok, thank you for your time.  
0
Konstantin Petkov
Telerik team
answered on 10 Aug 2010, 01:56 PM
Hi Marcin,

Just came to this thread after working with WebUI Test Studio client on the same error. She was running the 2010 Q2 of the product and once she upgraded to the very latest (internal build) and got this resolved. Here is the download page from your account for the latest WebAii Testing Framework build download.

Kind regards,
Konstantin Petkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Marcin Dziedzic
Top achievements
Rank 1
Answers by
Missing User
Marcin Dziedzic
Top achievements
Rank 1
Konstantin Petkov
Telerik team
Share this question
or