Attach Browser Selector Issue with 2 URL

Hello All!

I need your help.

I have a 2 selector. One is prod URL, other is test URL . I want to use selector like; The url comes from this or this. I used matching:regex but it has to be match. When i navigate the other pages the url will be changed. We have to eliminate login in url.

<html app='chrome.exe' url='( ui.apps.ocptst.test.com.tr/static/qjsons/login)|(https://trial.test.com.tr/static/qjsons/login)' matching:url='regex' />

I have to use more different pages, so attach browser selector is important for me.
Example;

URL1: https://trial.test.com.tr/static/qjsons/login
URL2: ui.apps.ocptst.test.com.tr/static/qjsons/login

@Betul_Dundar,

If your application is same and it’s just different environment, you don’t need to check for URL. Use other attributes like title or anything else that is unique to identify the page.

Thanks,
Ashok :slight_smile:

I can’t use title it is variant. First; login page title is different in prod and test environment.

How about wildcarding

<html app='chrome.exe' url='*test.com.tr/static/qjsons* />

@Betul_Dundar

you can use * in url

ui.apps.ocptst.test.com.tr*

so that it can access all urls…as the base url would be same

cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.