Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

160
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!