Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

166
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda