Results 1 to 5 of 5

Thread: Handle window names

  1. #1
    Geek_Guest
    Guest

    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.

    Question asked by visitor Krishna Murthy


  2. #2
    Expert Member
    Join Date
    Nov 2006
    Answers
    518

    Re: Handle window names

    Ths Q is'n clear... wat scnro and xampl r u lukng 4

    Lack of WILL POWER has caused more failure than
    lack of INTELLIGENCE or ABILITY.

    -sutnarcha-

  3. #3
    Junior Member
    Join Date
    Sep 2007
    Answers
    5

    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.


  4. #4
    Contributing Member
    Join Date
    Feb 2006
    Answers
    85

    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.


  5. #5
    Junior Member
    Join Date
    Sep 2007
    Answers
    5

    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..............


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact