Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

167
Visualizações
How to launch dynamic url Link in cypress?

I want to launch the child window tab which is having dynamic link in the application, link is as below:

http://localhost:8080/#/investigation/1141131893/popupwindow/567875854/searchinstancefilter

In this link: 1141131893 -->>this number gets changed everytime when we open the case, also its search instance number : 567875854 --get changed everytime. So I am not able to visit the link and launch the child window due to these dynamic attributes. Please help me for the cypress code. This I am doing in cypress Automation, and I want the code of it.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

You have to use template literals for this:

const investigationNum = '475357353'
const searchInstanceNum = '357834656'
cy.visit(`http://localhost:8080/#/investigation/${investigationNum}/popupwindow/${searchInstanceNum}/searchinstancefilter`)
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda