Action designer - how to determine form number

mta

Client
Регистрация
12.01.2020
Сообщения
129
Благодарностей
7
Баллы
18
Hello !

i want to adapt my Template by storing the form number in a variable , how can i get this parameter, witch is indicated in action designer?
in my project the form number change depending the data that was input previously.
For exemple, if i 'am searching an element , like a button, my template crash because the form number changed. :dg:

91744
 

morpheus93

Client
Регистрация
25.01.2012
Сообщения
1 058
Благодарностей
244
Баллы
63
I'm using alwas -1 and form Nr. as well as in document nr.. This searches in all form and documents on the site and works very well.
 
  • Спасибо
Реакции: mta

mta

Client
Регистрация
12.01.2020
Сообщения
129
Благодарностей
7
Баллы
18
I'm using alwas -1 and form Nr. as well as in document nr.. This searches in all form and documents on the site and works very well.
Thanks . i tryed your trick,it works in some case . but in some case it didn't work. If someone can help i will appreciate. i need to know how to get the document No and form No.
 

morpheus93

Client
Регистрация
25.01.2012
Сообщения
1 058
Благодарностей
244
Баллы
63
The class value in your screenshot from the first post looks like the site generates it randomly each time. Maybe you should try another selector or xpath search.
 
  • Спасибо
Реакции: mta

mta

Client
Регистрация
12.01.2020
Сообщения
129
Благодарностей
7
Баллы
18

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)