Beispiel #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));
        }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #4
0
 /// <summary>
 /// Sets the QxWebDriver to use.
 /// </summary>
 /// <param name="driver">The QxWebDriver.</param>
 public static void SetQxWebDriver(QxWebDriver driver)
 {
     Driver = driver;
 }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }
Beispiel #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));
        }
Beispiel #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)
 {
 }
Beispiel #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)
 {
 }