24Freelance永不休眠的自由职业市场
关闭

Automation of actions from the browser in the form of code for 1C / JS

1 485 浏览 0 回复#11600
项目状态
Closed
预算可协商
格式一次性项目无预付款
付款电子货币
接受的回复完成直到 10.04.2018
回复0类别平均: 1,0
视图1 485在14天内 33

项目描述

There is a website in Java + Jquery 1.7.1, according to wappalyzer. You need to automate two algorithms of actions and describe them in a script with a minimum run time. The script does not matter what will be written on, the main thing is that it can be called / executed from 1C, that is, 1C-ka gives data to the script, and the script gives the necessary information.
You are interested in the timing and amount of both algorithms.

The first algorithm is this:

1. Opening the site.
2. Enter the login / password (inputs are not in the form, with id).
3. Click on img (it without id, name, class, is an event by click, that is, the launch of the login script). Passes authorization, transfers to the front page of the personal account.
4. You need to click on the menu item that is in the frame. The button has an id and an event on the click that triggers the script. It is loaded into the same frame.
5. You need to click on the submenu (only 4 points in the submenu, all have a common class, according to the structure so div > a > span > font, you need to click on span and so he has an onclick event). Script in event links to page on subdomain of another site
6. After loading, 6 pop-up windows open, which must be blocked / closed.
7. Next, click on the menu item, which is located in html > frameset > frame[name="****"] > html > frameset#**** > frame[name="***"***"(not repeated)] > a bunch of tables. The menu itself is structured like this... > td > table > tbody > tr > td.h > div[id="*****"]. You have to click on td.h, there's an onclick event that triggers the script.
8. Another frame [name="****"] is loaded inside the frameset#****, and you need to click on a#*******. The link has an event on the button and a link to the script to show the page.
9. Again, frameset#***** > frame[name="****"] > iframe[name="***"] is loaded, in it the search form, in the form we need two inputs with unique names. You need to break (the last 6 characters in the second input, the rest in the first) and enter a line in these inputs, which is given from 1C.
10. Click on the input with class, button type, and name (possibly not unique). The form has onsubmit="return(false)", but there is action. The send button has a code-on-click (which sends and receives data, as far as I understand).
11. Below the form, information is loaded into the table in the iframe[name="****"], in it a table with many lines, you need to double-click on the desired attribute with a unique value (information always appears in the first line). On the line is ondblclick="parent.openWin('STORE_IZ_1C')".
12. After a double click, a pop-up window opens on another site, more precisely, a subdomain of another domain with such a structure html > frameset#*** > frameset#*** > frame[name="******] > iframe[name="***"] > form> iname[="name;***"] > ";";;] >;;;; table>. From this input you need to get the value and return it, that is, to 1C receive them.
Id and names are unique, but in some places you will have to pull out the serial number in the tree. The site should not change, but it is not reliable. In theory, you can pull out the text inside span/div, go to the parent and click. In some places, scripts or frames from another site can be downloaded or scripts on another site can be accessed and security issues arise.

Second algorithm:
1-5 points are repeated.
6. You need to click on the submenu item in the menu that appears in another frame. The item has no name, class, id, in theory, can be href. The item is tagged with a specific href and onclick="window.open('Link_on_Other_Domain')".
7. The tab opens, after a few seconds it is transferred to the third domain (not the one on which href stood) with session parameters (such as https: //***********/userMain.do;jsessionid=*****?lo cale=RUS).
8. You need to enter the data from 1C to input#***** and click on the neighboring img#****.
9. The modal window will open and you need to click input#*****. The window will close and the iframe will be loaded onto the page.
10. From this stage, you need to give control to the user in 1C. He will select the desired menu, download the necessary information in the iframe, there will be this view: on the left canvas with a diagram and links on it, on the right a table with checkboxes and three text fields (well, the field with numbering, but we do not need it). When you click on links to canvas'e, checkboxes on the right are activated / disabled.
11. You need to collect those lines in which the checkbox is active and give it to 1C, for example, in JSON format. This is done by pressing the button in 1C. The idea is simply to write a script that 1C will execute at the press of a button (the button will be made by our 1C programmer).
网页开发 电子货币

SafeDeal Escrow Protection

Payora SafeDeal

Funds are locked in Payora USDT (TRC-20) escrow and released to the freelancer only after delivery approval.

24
二十 · 提示

如何写出被选中的回复

  • 以客户的任务开头,而不是讲述自己的故事。
  • 链接一到两个来自您作品集的类似作品。
  • 给出一个价格和截止日期——以及它们具体包括什么。
  • 问一个澄清问题:这可以开始对话。

回复 0

回复文本仅对客户可见。

同类类别

类似项目

该类别中的所有项目
Private School Website

Private School Website

Building a private school website: admissions intake, classes and programmes, timetable, teachers and news.

网页开发24.09.20260227
0回复
值得注意
我该如何回应这个项目?

以自由职业者身份登录,描述您将如何解决任务,命名您的价格和截止日期。客户会阅读回复并与最佳的进行对话。

谁能看到我的回复?

只有发布项目的客户和您自己。其他自由职业者无法看到您的文本或价格。

我在哪里可以找到类似的工作?

在“网页开发”中每天都有新项目出现。 该类别中的所有项目

此页面回答的问题