How to solve this issue?

monzab

Новичок
Регистрация
25.06.2023
Сообщения
2
Благодарностей
0
Баллы
1
Hi,

I have been trying to automate one task on a certain website but I am having problems.
I am a total beginner in automation, I have never done it earlier. I am using version 7.7.4.0.

I need to do this:
1. log once an hour to an account on a certain website,
2. from the tabs on this website I need to select one specific tab,
3. I need to scroll down to a certain part of the tab and delete a specific word,
4. save the changes, log out,
5. next time I log in, I need to do again steps 1-4 but now I want to add the word that I previously deleted,
6. save the changes, log out.

The problems I have with this scenario are:
- I don't know how to set the time for the script to run every hour.
- Each time the script logs in to the website I can see a warning message that the website has been changed, which is true because one word was intentionally deleted at step 3. So, I understand that the script cannot be executed because the website is not 'the same' as it was at the beginning.

My question is:
Is there a way I can specify somewhere in the project that if a word xxx is present>delete word xxx but if the word xxx is not present>add word xxx?

I will appreciate any help
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 480
Благодарностей
5 917
Баллы
113
You should use text checking feature to check text on a page and depending on this make futher actions..
 

monzab

Новичок
Регистрация
25.06.2023
Сообщения
2
Благодарностей
0
Баллы
1
Perfect, thank you for the tip. I will try this feature.
 

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