-
Handle window names
While using regular expressions. I have one question.
1. For example I have an application in first version the application window name is "krishna" and in the second version it is become "Murthy".
But my script has to handle both window names.
Please send me the scenarios and as well as different examples.
[b]Question asked by visitor Krishna Murthy[/b]
-
Re: Handle window names
Ths Q is'n clear... wat scnro and xampl r u lukng 4
-
Re: Handle window names
As sutnarcha said the question is not clear please read the following and correct me if I am not correct
1. We use regular expression when same window will appear with different names or with slit changes.
2 .In this scenario if your scripts need to handle the window as same window
you need to write regular expression
Following are the few scenarios where we can write regular expression
1. Krishna, krishnaa, Krishnaaa, here “a” is repeated at the end so you can write a regular expression as Krishna*
2. aaaaaakrishna in this case you can use *akrishna
3. Krishnamurali so in this case you can use Krishna.* means after Krishna if nay alphabet comes consider as same window
4 Try this combination ……………… [0-9][a-z][A-Z] ?
Hi Krishna for your case Krishna and Murali is two different names so you can use *.*
Thanks
Franklin.
-
Re: Handle window names
I agree with franklin but from the prob what i understand is this is not a right candidate for Regular Expression.
-
Re: Handle window names
QUOTE=kunals;19501]I agree with franklin but from the prob what i understand is this is not a right candidate for Regular Expression.[/QUOTE]
Hi kunal,
You mean this is not a right solution or the question is not clear by Krishna.
Any other solution for this one please let me know.............. :confused: