The title of the window consists of date and time.What is
the regular expression to recognize the window as unique?



The title of the window consists of date and time.What is the regular expression to recognize the w..

Answer / Himanshu Tewari

To create a unique regular expression that recognizes a window with a date and time in its title, you can use a combination of wildcard characters (`*`) and character classes (`[...]`). Here's an example:

```vbs
Set r = New RegExp
r.IgnoreCase = True
r.Pattern = "**-*** *:*:*:*"
```
In this example, the regular expression `**-*** *:*:*:*` can be adjusted to match the specific date and time format in your window title.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WinRunner Interview Questions

where does WR records the information about objects in AUT?

1 Answers  


which TSl statement is used in winrunner to stop the Run

5 Answers  


Explain the winrunner testing process?

1 Answers  


What is the XML test cases creation?

1 Answers   IBM,


How do you identify which files are loaded in the gui map?

1 Answers  


can we write exception handlers (object,tsl,pop-up) programatically then how should we insert this in the script?

2 Answers  


what is the advantage of INOUT parameter over OUT parameter?

2 Answers   Fidelity,


How do you clear a gui map files?

1 Answers  


What is the winrunner version now..?

19 Answers   Second Foundation,


If the object does not have a name then what will be the logical name?

1 Answers  


Where are the expected results will be stored?

1 Answers   Logica CMG,


How you integrated your automated scripts from TestDirector?

1 Answers  


Categories