How to use a regular _expression in the physical description of a window in the GUI map?

How to use a regular _expression in the physical description of a window in the GUI map?

Several web page windows with similar html names they all end in or contain \" MyCompany\" The GUI Map has saved the following physical description for one of these windows:


{

class: window,

html_name: \"Dynamic Name | MyCompany\"

MSW_class: html_frame

}


The \"Dynamic Name \" part of the html name changes with the different pages.


Replace:

{

class: window,

html_name: \"!.*| MyCompany\"

MSW_class: html_frame

}

Regular expressions in GUI maps always begin with \"!\".



By:UMANG
Date:2029-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related TESTING Subjective Links

TESTING Subjective interview questions and answers for experienced and fresher