Untitled

mail@pastecode.io avatar
unknown
plain_text
12 days ago
6.4 kB
2
Indexable
Never
{
  "login": "",
  "senha": "",
  "proposta": "19809/2020",
  "actions": [
    {
      "type": "click",
      "by": "CSS_SELECTOR",
      "value": "div[href='#PROPOSTAS']"
    },
    {
      "type": "click",
      "by": "LINK_TEXT",
      "value": "Consultar Propostas"
    },
    {
      "type": "send_keys",
      "by": "ID",
      "value": "#consultarNumeroProposta",
      "text": "proposta"
    },
    {
      "type": "click",
      "by": "CSS_SELECTOR",
      "value": "span[class=FormLinhaBotoes] > button[name='consultarPropostaPreenchaOsDadosDaConsultaConsultarForm']"
    },
    {
      "type": "click",
      "by": "CSS_SELECTOR",
      "value": "div[class='numeroProposta'] > a"
    },
    {
      "type": "wait",
      "by": "ID",
      "value": "#tr-alterarDataProposta",
      "timeout": 20
    },
    {
      "type": "click",
      "by": "CSS_SELECTOR",
      "value": "div[href='#PROPOSTAS']"
    },
    {
      "type": "click",
      "by": "LINK_TEXT",
      "value": "Dados da Proposta/Pré-Instrumento/Instrumento"
    },
    {
      "type": "click",
      "by": "XPATH",
      "value": "//*[@id='grupo_abas']/a/div/span/span[contains(normalize-space(text()), 'Projeto Básico/Termo de Referência')]"
    },
    {
      "type": "wait",
      "by": "XPATH",
      "value": "//*[@id='sub_grupo_abas']/a/div/span/span[contains(normalize-space(text()), 'Projeto Básico/Termo de Referência')]",
      "timeout": 5
    },
    {
      "type": "click",
      "by": "XPATH",
      "value": "//*[@id='sub_grupo_abas']/a/div/span/span[contains(normalize-space(text()), 'Projeto Básico/Termo de Referência')]"
    },
    {
      "type": "click",
      "by": "CSS_SELECTOR",
      "value": "div[href='#PROPOSTAS']"
    },
    {
      "type": "click",
      "by": "LINK_TEXT",
      "value": "Dados da Proposta/Pré-Instrumento/Instrumento"
    },
    {
      "type": "click",
      "by": "XPATH",
      "value": "//*[@id='grupo_abas']/a/div/span/span[contains(normalize-space(text()), 'Execução Concedente')]"
    },
    {
      "type": "wait",
      "by": "XPATH",
      "value": "//*[@id='sub_grupo_abas']/a/div/span/span[contains(normalize-space(text()), 'OPs/OBs')]",
      "timeout": 5
    },
    {
      "type": "click",
      "by": "XPATH",
      "value": "//*[@id='sub_grupo_abas']/a/div/span/span[contains(normalize-space(text()), 'OPs/OBs')]"
    },
    {
      "type": "click",
      "by": "CSS_SELECTOR",
      "value": "div[href='#PROPOSTAS']"
    },
    {
      "type": "click",
      "by": "LINK_TEXT",
      "value": "Dados da Proposta/Pré-Instrumento/Instrumento"
    },
    {
      "type": "click",
      "by": "XPATH",
      "value": "//*[@id='grupo_abas']/a/div/span/span[contains(normalize-space(text()), 'Execução Concedente')]"
    },
    {
      "type": "wait",
      "by": "XPATH",
      "value": "//*[@id='sub_grupo_abas']/a/div/span/span[contains(normalize-space(text()), 'TAs')]",
      "timeout": 5
    },
    {
      "type": "click",
      "by": "XPATH",
      "value": "//*[@id='sub_grupo_abas']/a/div/span/span[contains(normalize-space(text()), 'TAs')]"
    },
    {
      "type": "click",
      "by": "CSS_SELECTOR",
      "value": "div[href='#EXECUCAO']"
    },
    {
      "type": "click",
      "by": "LINK_TEXT",
      "value": "UGTV"
    },
    {
      "type": "click",
      "by": "CSS_SELECTOR",
      "value": "div[href='#PROPOSTAS']"
    },
    {
      "type": "click",
      "by": "LINK_TEXT",
      "value": "Dados da Proposta/Pré-Instrumento/Instrumento"
    },
    {
      "type": "click",
      "by": "NAME",
      "value": "editarDadosPropostaDetalharPropostaDetalharProponenteForm"
    },
    {
      "type": "wait",
      "by": "ID",
      "value": "txtRazaoSocial",
      "timeout": 120
    }
  ],
  "output": {
    "fields": [
      { "name": "NR_CONVENIO", "by": "XPATH", "value": "//*[@id='tr-alterarNumeroProposta']/td[2]" },
      { "name": "NR_PROPOSTA", "by": "XPATH", "value": "//*[@id='tr-alterarNumeroProposta']/td[4]" },
      { "name": "NR_PROCESSO", "by": "XPATH", "value": "//*[@id='tr-alterarNumeroProcesso']/td[2]" },
      { "name": "SIT_CONVENIO", "by": "XPATH", "value": "//*[@id='tr-alterarStatus']/td[2]/table/tbody/tr[1]/td/div" },
      { "name": "DIA_PROPOSTA", "by": "XPATH", "value": "//*[@id='tr-alterarDataProposta']/td[2]" },
      { "name": "COD_ORGAO", "by": "XPATH", "value": "//*[@id='tr-alterarOrgaoConcedente']/td[2]" },
      { "name": "MODALIDADE", "by": "XPATH", "value": "//*[@id='tr-alterarModalidade']/td[2]/table/tbody/tr/td[1]" },
      { "name": "NM_BANCO", "by": "XPATH", "value": "//*[@class='bancoEscolhido'][2]/td[2]" },
      { "name": "SITUACAO_CONTA", "by": "XPATH", "value": "//*[@id='tr-alterarSituacaoConta']/td[2]" },
      { "name": "DIA_INIC_VIGENCIA_PROPOSTA", "by": "XPATH", "value": "//*[@id='tr-alterarInicioVigencia']/td[2]" },
      { "name": "DIA_FIM_VIGENCIA_PROPOSTA", "by": "XPATH", "value": "//*[@id='tr-alterarTerminoVigencia']/td[2]" },
      { "name": "OBJETO_PROPOSTA", "by": "XPATH", "value": "//*[@id='tr-alterarObjetoConvenio']/td[2]" },
      { "name": "VL_GLOBAL_PROP", "by": "XPATH", "value": "//*[@id='tr-alterarPercentualMinimoContrapartida']/td/b" },
      { "name": "VL_REPASSE_PROP", "by": "XPATH", "value": "//*[@id='tr-alterarPercentualMinimoContrapartida']/td/div[1]/b" },
      { "name": "VL_CONTRAPARTIDA_PROP", "by": "XPATH", "value": "//*[@id='tr-alterarPercentualMinimoContrapartida']/td/div[2]/b" },
      { "name": "DIA_ASSIN_CONV", "by": "XPATH", "value": "//*[@id='tr-enviarParaAnaliseDataAssinatura']/td[2]" },
      { "name": "SITUACAO_PUBLICACAO", "by": "XPATH", "value": "//*[@id='tr-alterarStatus']/td[2]/table/tbody/tr[2]/td[4]" },
      { "name": "VL_DESEMBOLSADO_CONV", "by": "XPATH", "value": "//*[@id='tbodyrow']/tr/td[2]/div" },
      { "name": "UG_EMITENTE", "by": "XPATH", "value": "//*[@id='tr-enviarUasgEmitenteSL']/td[2]" },
      { "name": "NM_PROPONENTE", "by": "ID", "value": "txtRazaoSocial" },
      { "name": "IDENTIF_PROPONENTE", "by": "ID", "value": "txtCNPJ" },
      { "name": "ENDERECO_PROPONENTE", "by": "ID", "value": "txtEndereco" },
      { "name": "CEP_PROPONENTE", "by": "ID", "value": "txtEndereco" }
    ]
  }
}
Leave a Comment