Questions tagged [htmlelements]

Html Elements is a Java framework providing easy-to-use way of interaction with web-page elements in ui web tests.

Html Elements is a Java (actually there are .NET and php implementations) framework providing easy-to-use way of interaction with web-page elements in web-page tests. With the help of the Html Elements framework you can group web-page elements into blocks, encapsulate logic of interaction within them and then easily use created blocks in page objects.

You can find useful documentation and examples in project repository https://github.com/yandex-qatools/htmlelements

140 questions
1
vote
0 answers

How to get the height of javascript element div without loading in HTML DOM

I created a new div element in JavaScript and I appended some text content. Now I required to get the height of the div which was created in the JavaScript. Sample code: const str = 'One of the important elements of a web application is form…
Sreedharan
  • 83
  • 1
  • 3
  • 8
1
vote
1 answer

C# selenium unable to locate button through xpath

I'm trying to locate an element using XPath but my code is incorrect and I'm not sure of the write syntax. I entered the code below which isn't working. IWebElement customizeButton =…
Nicole
  • 104
  • 1
  • 2
  • 11
1
vote
1 answer

Invisible html element on "view page source"

I am trying to read an html page in my java code using Jsoup library. This is the link to the page: http://www.alkhaleej.ae/ The part in the page that I am interested in is the horizontal menu bar at the top of the page (which has the news…
Traveling Salesman
  • 2,209
  • 11
  • 46
  • 83
1
vote
0 answers

Failed to instantiate page of type class using thucydides with htmlelements

I'm new here :). I'm writing own test framework now using thucydides v. 0.9.203 with htmelements v. 1.9 and chromedriver v. 2.30.0 and have troubles with compatibility between driver and thucydides. Please, find my pom.xml file bellow, where do I do…
1
vote
1 answer

How does lazy loading work with the Yandex HtmlElements?

Standard WebElement behavior Standard WebElement lazy loading works as follows: // Will not try to find button until perform an operation on it such as button.click(); @FindBy(id = "button") private WebElement button; // Button list will be created…
Andrew Sumner
  • 793
  • 2
  • 12
  • 29
1
vote
1 answer

Include and iterate over similar HtmlElements blocks in page

I decided to try out yandex HtmlElements framework to construct page that contains several similar blocks. Intention was to describe single block in separate class with all its methods and then iterate over list of them in main page. Following…
bukva-ziu
  • 126
  • 8
1
vote
1 answer

C# Webbrowser simulate click

I want simulate click to c# webbrowser. But I could not successful. This Html Code to be clicked: 2
1
vote
1 answer

Is it possible to refresh stale elements?

I have a search page that contains a table that gets populated with search results after the user presses the search button. The page object wraps the rows of the search results table in a custom HtmlElement class. I'm getting a stale element…
Andrew Sumner
  • 793
  • 2
  • 12
  • 29
1
vote
2 answers

Laravel jQuery adding and removing HTML elements

I'm new in Laravel framework and i need an option to add and remove a row from a form. Is there maybe some easier and faster way in Laravel or i need to make it "oldschool" like in this video https://www.youtube.com/watch?v=iaeCSh7YJDM
lewis4u
  • 14,256
  • 18
  • 107
  • 148
1
vote
1 answer

C# Windows application- How to span tag value show in textbox1?

Actually I am want to span the data value show in my textbox1.Text area. This is full code.
1
vote
1 answer

Waits HtmlElements

If the button doesn't exist then the test would hang for much longer than 5 seconds. The method findElement() in DefaultElementLocator was invoked ~63 times! The deeper the nesting of the blocks, the longer the waiting time. Is it possible to use…
1
vote
1 answer

How click innerhtml data if start code td?

I am want click innerhtml area but when I am using my code then it's totally not working but when I am try web browser contain then message show working well. I think I am mistaken something pls help me. html code …
1
vote
1 answer

web browser innertext data how received in textbox?

I have posted my HTML below. In which I want to get the name value from within my textbox area. I've tried several processes and I'm still not getting any valid solution. Please check my HTML and code snippet, and show me a possible solution. The…
1
vote
2 answers

c# windows form - How received a tag value data into my textbox1?

from this code I want only the value data Example: 2062223616_7147073260_1440589192619132.WMA below my code not working so please help me. My code…
1
vote
0 answers

How to appendchild for htmlelement at special index

I am using the .NET WebBrowser control to as a WYSIWYG html editor. Now i want to replace special string in htmlelement With a Link. I was using from this code foreach (var el in nodes) { string innertxt = el.InnerText; MatchCollection…
Sara
  • 209
  • 1
  • 3
  • 10