|
|
|
|
Regular expression in a recovery scenario
|
|
08-02-2009, 12:53 AM
Post: #1
|
|||
|
|||
|
Regular expression in a recovery scenario
Hi, I am testing a flex application and get an error popup sometimes. the title is 'Adobe Flash Player 10' and the text contains a big paragraph describing the error. I am trying to set up a recovery scenario to press enter when this popup comes up. the popup has 2 buttons 'Dismiss All' and 'Continue' i have 2 issues: 1. I used the hand pointer in the recov scenario manager to get the popup title. But it doesnt work when i run the test. So I want to set up a regular expression. i tried *Adobe* but it didnt work either. 2. For the actions to be taken, when i use the hand tool to point to continue button it registers as '&Continue'. so i just selected 'click default/enter' option. this doesnt work either. please help me if anyone has any experience with dealing with such a popup. thanks. any help appreciated. |
|||
|
08-12-2009, 10:34 AM
(This post was last modified: 08-12-2009 10:35 AM by rameshrise3.)
Post: #2
|
|||
|
|||
|
RE: Regular expression in a recovery scenario
Hi,
I have a question for you, If the tiltle is keep changing, everytime you run, then only Regular Expression needs to be implemented. and you do that as follows: Replace [a-z] by an alphabet & [0-9] by a digit. Thanks Ramesh Hi, I have a question for you, If the tiltle is keep changing, everytime you run, then only Regular Expression needs to be implemented. and you do that as follows: Replace alphabet by [a-z] & digit by [0-9]. Thanks Ramesh Thanks Rammy |
|||
|
08-12-2009, 01:01 PM
Post: #3
|
|||
|
|||
RE: Regular expression in a recovery scenario
(08-12-2009 10:34 AM)rameshrise3 Wrote: Hi,Ramesh - Please do not post information you have. It will be appropriate if you answer the question. The above post is a mere reply with a misleading answer. Basanth QTP On Unix- Java Way - Without Putty or Terminal Emulation You have no idea how high I can fly... |
|||
|
08-12-2009, 10:09 PM
Post: #4
|
|||
|
|||
RE: Regular expression in a recovery scenario
(08-12-2009 01:01 PM)basanth27 Wrote:(08-12-2009 10:34 AM)rameshrise3 Wrote: Hi,Ramesh - Please do not post information you have. It will be appropriate if you answer the question. The above post is a mere reply with a misleading answer. Hi Pranjal, Use the below regular Expression Patterns, both will work for your window title issue. sPattern1 = "Adobe.*" sPattern2 = "Adobe\x20(\w+)" Thanks, Azeem |
|||
|
08-21-2009, 02:29 AM
Post: #5
|
|||
|
|||
RE: Regular expression in a recovery scenario
(08-12-2009 10:09 PM)azeem Wrote:(08-12-2009 01:01 PM)basanth27 Wrote:(08-12-2009 10:34 AM)rameshrise3 Wrote: Hi,Ramesh - Please do not post information you have. It will be appropriate if you answer the question. The above post is a mere reply with a misleading answer. Thank you for your replies. I will try them and update about my results. |
|||
|
09-16-2009, 05:37 AM
Post: #6
|
|||
|
|||
RE: Regular expression in a recovery scenario
(08-21-2009 02:29 AM)pranjal Wrote:(08-12-2009 10:09 PM)azeem Wrote:(08-12-2009 01:01 PM)basanth27 Wrote:(08-12-2009 10:34 AM)rameshrise3 Wrote: Hi,Ramesh - Please do not post information you have. It will be appropriate if you answer the question. The above post is a mere reply with a misleading answer. i tried using these reg exp: sPattern1 = "Adobe.*" sPattern2 = "Adobe\x20(\w+)" But none worked. Even when I explicitly add this line: Recovery.Activate it does not activate the scenario. other recov scenarios dealing with windows dialog work fine. It is just this one that doesn't. I am attaching an image of the popup. Any help will be appreciated. thanks a lot. |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| Regular expression for this string | falvi | 2 | 238 |
04-30-2012 11:14 AM Last Post: falvi |
|
| regular expression | rjkmr.aiht | 0 | 146 |
04-27-2012 11:37 AM Last Post: rjkmr.aiht |
|
| Regular Expression | samverma | 3 | 348 |
03-31-2012 01:21 AM Last Post: samverma |
|
| Square Bracket Issue - Regular Expression | kapsig431 | 2 | 281 |
03-29-2012 08:38 PM Last Post: kapsig431 |
|
| Regular Expression for time in 24 hour format with out colon | Pallavi | 3 | 431 |
03-13-2012 11:29 AM Last Post: sshukla12 |
|
User(s) browsing this thread: 1 Guest(s)
|
|

Search
Member List
Calendar
Help



