Home
last modified time | relevance | path

Searched refs:xpath (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/external/autotest/server/cros/ap_configurators/
Dweb_driver_core_helpers.py37 def _handle_alert(self, xpath, alert_handler): argument
45 self.driver.find_element_by_xpath(xpath)
55 self._handle_alert(xpath, alert_handler)
127 for xpath in xpaths:
129 element = self.wait_for_object_by_xpath(xpath,
132 return xpath
147 xpath = 'id("%s")' % element_id
148 return self.click_button_by_xpath(xpath, alert_handler)
151 def click_button_by_xpath(self, xpath, alert_handler=None): argument
159 button = self.wait_for_object_by_xpath(xpath)
[all …]
Dnetgear_WNDR_dual_band_configurator.py104 xpath = '//button[@name="yes" and @class="purpleBtn"]'
106 element = self.wait_for_object_by_xpath(xpath)
108 self.click_button_by_xpath(xpath)
139 xpath = '//select[@name="opmode"]'
141 xpath = '//select[@name="opmode_an"]'
142 self.wait_for_object_by_xpath(xpath)
143 self.select_item_from_popup_by_xpath(mode, xpath,
157 xpath = '//input[@name="ssid"]'
159 xpath = '//input[@name="ssid_an"]'
160 self.set_content_of_text_field_by_xpath(ssid, xpath)
[all …]
Dnetgear_single_band_configurator.py86 xpath = '//input[@maxlength="32" and @name="ssid"]'
87 self.set_content_of_text_field_by_xpath(ssid, xpath, abort_check=True)
99 xpath = '//select[@name="w_channel"]'
100 self.select_item_from_popup_by_xpath(channel_choices[position], xpath)
114 xpath = '//select[@name="opmode"]'
115 self.select_item_from_popup_by_xpath(mode_popup, xpath)
128 xpath = '//input[@name="security_type" and @value="Disable"]'
129 self.click_button_by_xpath(xpath, alert_handler=self._alert_handler)
138 xpath = '//input[@name="security_type" and @value="WEP"]'
140 self.click_button_by_xpath(xpath, alert_handler=self._alert_handler)
[all …]
Dlinksyse2000_ap_configurator.py71 xpath = '//a[text()="Save Settings"]'
72 button = self.driver.find_element_by_xpath(xpath)
87 xpath = '//select[@name="wl_net_mode_24g"]'
96 xpath = '//select[@name="wl_net_mode_5g"]'
116 self.select_item_from_popup_by_xpath(mode_name, xpath,
125 xpath = '//input[@maxlength="32" and @name="wl_ssid_24g"]'
128 xpath = '//input[@maxlength="32" and @name="wl_ssid_5g"]'
130 ssid_field = self.driver.find_element_by_xpath(xpath)
136 self.set_content_of_text_field_by_xpath(ssid, xpath)
146 xpath = '//select[@name="wl_schannel"]'
[all …]
Dlinksyse2100_ap_configurator.py25 xpath = '//select[@name="wl_net_mode"]'
26 self.select_item_from_popup_by_xpath(mode_name, xpath,
31 xpath = '//input[@name="wl_ssid"]'
32 self.set_content_of_text_field_by_xpath(ssid, xpath, abort_check=False)
38 xpath = '//select[@name="wl_schannel"]'
44 self.select_item_from_popup_by_xpath(channels[position], xpath)
49 xpath = '//select[@name="_wl_nbw"]'
51 xpath)
55 xpath = '//select[@name="security_mode2"]'
56 self.select_item_from_popup_by_xpath('Disabled', xpath)
[all …]
Dbuffalo_wzr_d1800h_ap_configurator.py156 xpath = '//input[@type="text" and @name="ssid_11bg"]'
158 xpath = '//input[@type="text" and @name="ssid_11a"]'
159 self.set_content_of_text_field_by_xpath(ssid, xpath)
175 xpath = '//select[@name="channel11bg"]'
177 xpath = '//select[@name="channel11a"]'
182 if self.number_of_items_in_popup_by_xpath(xpath) == 0:
187 self.select_item_from_popup_by_xpath(channel_choice[position], xpath)
204 xpath = '//select[@name="nbw_11bg"]'
209 xpath = '//select[@name="nbw_11a"]'
211 xpath)
[all …]
Dlinksyswrt610n_ap_configurator.py37 xpath = '//select[@name="wl0_net_mode"]'
39 xpath = '//select[@name="wl1_net_mode"]'
46 self.select_item_from_popup_by_xpath(mode_name, xpath,
51 xpath = '//input[@name="wl0_ssid"]'
53 xpath = '//input[@name="wl1_ssid"]'
54 self.set_content_of_text_field_by_xpath(ssid, xpath)
65 xpath = '//select[@name="_wl0_channel"]'
67 xpath = '//select[@name="_wl1_channel"]'
73 self.select_item_from_popup_by_xpath(channel_choices[position], xpath,
82 xpath = ('//input[@value="%d" and @name="%s"]' % (int_value, button))
[all …]
Dtrendnet812dru_ap_configurator.py84 xpath = '//input[@maxlength="32" and @name="wl_ssid"]'
85 self.set_content_of_text_field_by_xpath(ssid, xpath, abort_check=True)
100 xpath = '//select[@name="wl_nmode"]'
101 while self.number_of_items_in_popup_by_xpath(xpath) < 2:
103 self.select_item_from_popup_by_xpath(mode_name, xpath)
111 xpath = '//select[@name="wl_bss_enabled"]'
113 self.select_item_from_popup_by_xpath('On', xpath)
115 self.select_item_from_popup_by_xpath('Off', xpath)
119 xpath = '//select[@name="wl_closed"]'
121 self.select_item_from_popup_by_xpath('Enabled', xpath)
[all …]
Dlinksyswrt600_ap_configurator.py85 xpath = '//select[@name="wl_mode"]'
90 xpath = '//select[@name="wl_mode_1"]'
99 self.select_item_from_popup_by_xpath(mode_name, xpath)
103 xpath = '//input[@name="wl_ssid"]'
105 xpath = '//input[@name="wl_ssid_1"]'
106 self.set_content_of_text_field_by_xpath(ssid, xpath)
117 xpath = '//select[@name="wl_channel"]'
119 xpath = '//select[@name="wl_channel_1"]'
126 xpath)
130 xpath = ('//select[@name="wl_security" and \
[all …]
Dbuffaloag300h_ap_configurator.py82 xpath = '//select[@name="ath0_net_mode"]'
84 xpath = '//select[@name="ath1_net_mode"]'
92 self.select_item_from_popup_by_xpath(mode_name, xpath)
106 xpath = '//input[@name="ath0_ssid"]'
108 xpath = '//input[@name="ath1_ssid"]'
109 self.set_content_of_text_field_by_xpath(ssid, xpath)
124 xpath = '//select[@name="ath0_channel"]'
126 xpath = '//select[@name="ath1_channel"]'
131 self.select_item_from_popup_by_xpath(channel_choices[position], xpath)
148 xpath = '//select[@name="ath0_security_mode"]'
[all …]
Dlinksyswrt120n_ap_configurator.py46 xpath = '//select[@name="op_mode"]'
47 self.select_item_from_popup_by_xpath(mode_name, xpath,
52 xpath = '//input[@name="wl_ssid"]'
53 self.set_content_of_text_field_by_xpath(ssid, xpath, abort_check=False)
59 xpath = '//select[@name="channel"]'
65 self.select_item_from_popup_by_xpath(channels[position], xpath)
69 xpath = '//select[@name="sec_mode"]'
70 self.select_item_from_popup_by_xpath('Disabled', xpath)
80 xpath = '//input[@name="generate_key"]'
81 self.click_button_by_xpath(xpath, alert_handler=self._sec_alert)
[all …]
Dnetgear4300_ap_configurator.py79 xpath = '//input[@name="security_type_an" and @value="WPA-ENTER"]'
81 self.wait_for_object_by_xpath(xpath).is_displayed())
114 xpath = '//select[@name="opmode"]'
116 xpath = '//select[@name="opmode_an"]'
117 self.wait_for_object_by_xpath(xpath)
118 self.select_item_from_popup_by_xpath(mode_selection, xpath)
129 xpath = '//select[@name="w_channel"]'
131 xpath = '//select[@name="w_channel_an"]'
134 self.select_item_from_popup_by_xpath(channel_choices[position], xpath)
145 xpath = ('//input[@name="security_type" and @value="WEP" and '
[all …]
Dlinksyse_dual_band_configurator.py115 xpath = '//select[@name="wl0_net_mode"]'
118 xpath = '//select[@name="wl1_net_mode"]'
139 self.select_item_from_popup_by_xpath(mode_name, xpath,
153 xpath = '//input[@maxlength="32" and @name="wl0_ssid"]'
155 xpath = '//input[@maxlength="32" and @name="wl1_ssid"]'
156 self.set_content_of_text_field_by_xpath(ssid, xpath)
171 xpath = '//select[@name="_wl0_channel"]'
173 xpath = '//select[@name="_wl1_channel"]'
179 xpath)
196 xpath = '//select[@name="wl0_security_mode"]'
[all …]
Dlinksyse2500_ap_configurator.py72 xpath = '//select[@name="net_mode_24g"]'
75 xpath = '//select[@name="net_mode_5g"]'
82 self.select_item_from_popup_by_xpath(mode_name, xpath,
87 xpath = '//input[@maxlength="32" and @name="ssid_24g"]'
89 xpath = '//input[@maxlength="32" and @name="ssid_5g"]'
90 self.set_content_of_text_field_by_xpath(ssid, xpath)
101 xpath = '//select[@name="_wl0_channel"]'
103 xpath = '//select[@name="_wl1_channel"]'
109 self.select_item_from_popup_by_xpath(channel_choices[position], xpath,
133 xpath = ('//input[@value="%d" and @name="%s"]' % (int_value, button))
[all …]
Dlinksyse_single_band_configurator.py128 xpath = '//select[@name="net_mode_24g"]'
129 self.select_item_from_popup_by_xpath(mode_name, xpath,
138 xpath = '//input[@maxlength="32" and @name="ssid_24g"]'
139 self.set_content_of_text_field_by_xpath(ssid, xpath, abort_check=False)
142 ssid_field = self.driver.find_element_by_xpath(xpath)
160 xpath = '//select[@name="_wl0_channel"]'
166 self.select_item_from_popup_by_xpath(channels[position], xpath)
181 xpath = '//select[@name="_wl0_nbw"]'
183 xpath)
208 xpath = '//select[@name="wl0_security_mode"]'
[all …]
Dlinksys_ap_configurator.py53 xpath = '//input[@name="wsc_smode" and @value=1]'
54 button = self.driver.find_element_by_xpath(xpath)
56 self.click_button_by_xpath(xpath)
90 xpath = ('//select[@onchange="SelWL()" and @name="Mode"]')
91 self.select_item_from_popup_by_xpath(mode_name, xpath)
115 xpath = ('//input[@maxlength="32" and @name="SSID"]')
116 self.set_content_of_text_field_by_xpath(ssid, xpath)
131 xpath = ('//select[@onfocus="check_action(this,0)" and @name="Freq"]')
133 xpath)
145 xpath = ('//select[@name="SecurityMode"]')
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DHasPositionalPredChecker.java21 package org.apache.xpath.axes;
23 import org.apache.xpath.Expression;
24 import org.apache.xpath.ExpressionOwner;
25 import org.apache.xpath.XPathVisitor;
26 import org.apache.xpath.functions.FuncLast;
27 import org.apache.xpath.functions.FuncPosition;
28 import org.apache.xpath.functions.Function;
29 import org.apache.xpath.objects.XNumber;
30 import org.apache.xpath.operations.Div;
31 import org.apache.xpath.operations.Minus;
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/
DXPathExpressionImpl.java20 package org.apache.xpath.jaxp;
22 import org.apache.xpath.*;
25 import org.apache.xpath.objects.XObject;
27 import org.apache.xpath.res.XPATHErrorResources;
32 import javax.xml.xpath.XPathExpressionException;
33 import javax.xml.xpath.XPathConstants;
34 import javax.xml.xpath.XPathFunctionResolver;
35 import javax.xml.xpath.XPathVariableResolver;
36 import javax.xml.xpath.XPathConstants;
53 public class XPathExpressionImpl implements javax.xml.xpath.XPathExpression{
[all …]
DXPathImpl.java20 package org.apache.xpath.jaxp;
24 import javax.xml.xpath.XPathExpressionException;
25 import javax.xml.xpath.XPathConstants;
26 import javax.xml.xpath.XPathFunctionResolver;
27 import javax.xml.xpath.XPathVariableResolver;
28 import javax.xml.xpath.XPathExpression;
31 import org.apache.xpath.*;
32 import org.apache.xpath.objects.XObject;
33 import org.apache.xpath.res.XPATHErrorResources;
57 public class XPathImpl implements javax.xml.xpath.XPath {
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DFunctionTable.java21 package org.apache.xpath.compiler;
23 import org.apache.xpath.Expression;
24 import org.apache.xpath.functions.Function;
178 m_functions[FUNC_CURRENT] = org.apache.xpath.functions.FuncCurrent.class;
179 m_functions[FUNC_LAST] = org.apache.xpath.functions.FuncLast.class;
180 m_functions[FUNC_POSITION] = org.apache.xpath.functions.FuncPosition.class;
181 m_functions[FUNC_COUNT] = org.apache.xpath.functions.FuncCount.class;
182 m_functions[FUNC_ID] = org.apache.xpath.functions.FuncId.class;
186 org.apache.xpath.functions.FuncLocalPart.class;
188 org.apache.xpath.functions.FuncNamespace.class;
[all …]
DCompiler.java21 package org.apache.xpath.compiler;
34 import org.apache.xpath.Expression;
35 import org.apache.xpath.axes.UnionPathIterator;
36 import org.apache.xpath.axes.WalkerFactory;
37 import org.apache.xpath.functions.FuncExtFunction;
38 import org.apache.xpath.functions.FuncExtFunctionAvailable;
39 import org.apache.xpath.functions.Function;
40 import org.apache.xpath.functions.WrongNumberArgsException;
41 import org.apache.xpath.objects.XNumber;
42 import org.apache.xpath.objects.XString;
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/
DXPathVisitor.java21 package org.apache.xpath;
23 import org.apache.xpath.axes.LocPathIterator;
24 import org.apache.xpath.axes.UnionPathIterator;
25 import org.apache.xpath.functions.Function;
26 import org.apache.xpath.objects.XNumber;
27 import org.apache.xpath.objects.XString;
28 import org.apache.xpath.operations.Operation;
29 import org.apache.xpath.operations.UnaryOperation;
30 import org.apache.xpath.operations.Variable;
31 import org.apache.xpath.patterns.NodeTest;
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/operations/
DVariable.java21 package org.apache.xpath.operations;
27 import org.apache.xpath.Expression;
28 import org.apache.xpath.ExpressionOwner;
29 import org.apache.xpath.XPath;
30 import org.apache.xpath.XPathContext;
31 import org.apache.xpath.XPathVisitor;
32 import org.apache.xpath.axes.PathComponent;
33 import org.apache.xpath.axes.WalkerFactory;
34 import org.apache.xpath.objects.XNodeSet;
35 import org.apache.xpath.objects.XObject;
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DFuncCurrent.java21 package org.apache.xpath.functions;
25 import org.apache.xpath.XPathContext;
26 import org.apache.xpath.axes.LocPathIterator;
27 import org.apache.xpath.axes.PredicatedNodeTest;
28 import org.apache.xpath.objects.XNodeSet;
29 import org.apache.xpath.objects.XObject;
30 import org.apache.xpath.axes.SubContextList;
31 import org.apache.xpath.patterns.StepPattern;
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DAbsPathChecker.java23 import org.apache.xpath.ExpressionOwner;
24 import org.apache.xpath.XPathVisitor;
25 import org.apache.xpath.axes.LocPathIterator;
26 import org.apache.xpath.functions.FuncCurrent;
27 import org.apache.xpath.functions.FuncExtFunction;
28 import org.apache.xpath.functions.Function;
29 import org.apache.xpath.operations.Variable;

12345678910>>...14