示例#1
0
        /// <summary>
        /// Searches for elements by traversing the qooxdoo application's widget hierarchy.
        /// See the <a href="https://github.com/iceteagroup/wisej-selenium">Qxh locator manual page</a> for details.
        /// This strategy will ignore any widgets that are not currently visible, as
        /// determined by checking the qooxdoo property <a href="http://demo.qooxdoo.org/current/apiviewer/#qx.ui.Core.Widget~isSeeable!method_public">seeable</a>.
        /// </summary>
        /// <param name="locator">Locator specification</param>
        /// <param name="driver">The QxWebDriver to use.</param>
        /// <returns>By.ByQxh.</returns>
        public static By Qxh(string locator, QxWebDriver driver)
        {
            Driver = driver;

            return(Qxh(locator));
        }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Button"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public Button(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Form"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public Form(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#4
0
 /// <summary>
 /// Sets the QxWebDriver to use.
 /// </summary>
 /// <param name="driver">The QxWebDriver.</param>
 public static void SetQxWebDriver(QxWebDriver driver)
 {
     Driver = driver;
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TreeView"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public TreeView(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataGridView"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public DataGridView(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DateTimePicker"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public DateTimePicker(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ListBox"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public ListItem(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TabControl"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public TabControl(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MonthCalendar"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public MonthCalendar(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Button"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 internal AlertBox(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Desktop"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public Desktop(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TabPage"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public TabPage(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MenuBar"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public MenuBar(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LinkLabel"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public LinkLabel(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Canvas"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public Canvas(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MessageBox"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public MessageBox(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StatusBar"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public StatusBar(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TextBox"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public TextBox(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Panel"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public Panel(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#21
0
        /// <summary>
        /// Searches for elements by traversing the qooxdoo application's widget
        /// hierarchy. See the <a href="https://github.com/iceteagroup/wisej-selenium">Qxh locator manual page</a> for details.
        /// </summary>
        /// <param name="locator">Locator specification</param>
        /// <param name="onlySeeable"><code>false</code> if invisible widgets should be
        /// traversed. Note that this can considerably increase execution time.</param>
        /// <param name="driver">The QxWebDriver to use.</param>
        /// <returns>configured ByQxh instance.</returns>
        public static By Qxh(string locator, bool?onlySeeable, QxWebDriver driver)
        {
            Driver = driver;

            return(Qxh(locator, onlySeeable));
        }
示例#22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CheckBox"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public CheckBox(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }
示例#23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupBox"/> class.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <param name="webDriver">The web driver.</param>
 public GroupBox(IWebElement element, QX.QxWebDriver webDriver) : base(element, webDriver)
 {
 }