Hello,
I have the element with such expression:
"tagname=div,class=select-normal,OuterMarkup=~id=mailprefs_default_compose_mode_labellink"
Element is determined correctly in IE browsers, but i have issues in Chrome and Firefox. I've got such error while executing scripts in followed browsers:
Unable to locate element. Details: Attempting to find [Html] element using
Find logic
(Html): [class 'Exact' select-normal] AND [OuterMarkup 'Contains' id=mailprefs_default_compose_mode_labellink] AND [tagname 'Exact' div]
Inside Frame:[Frame:id=main_iframe,name=Frame_0,src=https://domain.com/ajax_prefs/main.php,UseQuery:True]
Unable to locate element. Search failed!
This issue is replicated for Firefox and Chrome browsers, and after this error i can't complete execution of test suite successfully.
Note: I don't need to use tags such as title or name, because application is multi-language. Please look at this sample of code:
I have the element with such expression:
"tagname=div,class=select-normal,OuterMarkup=~id=mailprefs_default_compose_mode_labellink"
Element is determined correctly in IE browsers, but i have issues in Chrome and Firefox. I've got such error while executing scripts in followed browsers:
Unable to locate element. Details: Attempting to find [Html] element using
Find logic
(Html): [class 'Exact' select-normal] AND [OuterMarkup 'Contains' id=mailprefs_default_compose_mode_labellink] AND [tagname 'Exact' div]
Inside Frame:[Frame:id=main_iframe,name=Frame_0,src=https://domain.com/ajax_prefs/main.php,UseQuery:True]
Unable to locate element. Search failed!
This issue is replicated for Firefox and Chrome browsers, and after this error i can't complete execution of test suite successfully.
Note: I don't need to use tags such as title or name, because application is multi-language. Please look at this sample of code:
<
div
id
=
"mailprefsBody"
style
=
"height: 473px;"
>
<
div
class
=
"pref-padwr"
>
<
table
cellspacing
=
"0"
cellpadding
=
"0"
role
=
"grid"
>
<
tbody
>
<
tr
class
=
"PrefText"
>
<
td
>
<
select
title
=
"Default compose mode"
alt
=
"Default compose mode"
tabindex
=
"8160"
id
=
"mailprefs_default_compose_mode"
name
=
"default_compose_mode"
style
=
"display: none;"
>
<
option
value
=
"Text"
>Text</
option
>
<
option
value
=
"HTML"
>HTML</
option
>
</
select
><
div
class
=
"select-normal"
alt
=
"Default compose mode"
title
=
"Default compose mode"
><
div
class
=
"select-inp"
><
div
class
=
"select-t"
>Text</
div
><
a
class
=
"select-arr"
id
=
"mailprefs_default_compose_mode_labellink"
tabindex
=
"8160"
></
a
></
div
></
div
>
</
td
>
</
tr
>
</
tbody
>
</
table
>
</
div
>
</
div
>