A
A
Anton2018-08-22 10:26:27
C++ / C#
Anton, 2018-08-22 10:26:27

What useful tools do you have for learning Selenium?

Hello.
Decided to learn Selenium. I started to study it using the C# language as an example.
I set a simple task and set the following: there is a site for which I will write small test scripts from the category - the user went to the pages and saw something.
When studying, I ran into a problem: the site has an element, when you click on it, you get to another page. At the code level, I tried to do this, but I get the error: "Element not found".
I installed the Selenium extension in Chrome and wrote down the steps. I saw that when recording steps, he refers to this element by coordinates (I think this is a bad option).
In this regard, I had a question: what tools do you use to find elements on pages, write correct code, etc.?
Share, pliz, Best Practice

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Eremin, 2018-08-22
@EreminD

and show the site and the element itself?

V
Valery Glukhovtsev, 2018-08-22
@valera-glukhovtsev

Usually CSS/Xpath selectors are used. Google it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question