|
|
|
|
Regular expression help
|
|
01-20-2010, 05:20 AM
Post: #1
|
|||
|
|||
|
Regular expression help
can anyone help me figuring out the regular expression for the below kind of object OracleFormWindow("ADANE,EUTINIO").OracleButton("Service").Click OracleFormWindow("ADANE,EUTINIO E").OracleButton("Service").Click i tried giving like ((A-Z)*/,(A-Z)*/s(A-Z)*)) its not working any help is highly appreciated. -g |
|||
|
01-20-2010, 11:33 AM
Post: #2
|
|||
|
|||
|
RE: Regular expression help
hey g,
set the regular expression pattern like "[a-zA-Z],[a-zA-Z]" and let me know how it goes. Thanks, ~Saket Kumar [Linkedin][pdf Api for QTP] It's so hard when I have to, and so easy when I want to... |
|||
|
01-20-2010, 10:59 PM
Post: #3
|
|||
|
|||
|
RE: Regular expression help
Hey Saket
this doesn't work...i get the below error Run Error : Cannot find the "Service" object's parent "ADANE,EUTINIO" (class OracleFormWindow). Verify that parent properties match an object currently displayed in your application. Line (13): "OracleFormWindow("ADANE,EUTINIO").OracleButton("Service").Click". |
|||
|
01-21-2010, 10:10 AM
Post: #4
|
|||
|
|||
|
RE: Regular expression help
sorry for misleading you, I thought you just need the regular for the text there. try this-
In your OR, regualrise the text for form window with ".*" Thanks, ~Saket Kumar [Linkedin][pdf Api for QTP] It's so hard when I have to, and so easy when I want to... |
|||
|
01-22-2010, 01:33 AM
Post: #5
|
|||
|
|||
|
RE: Regular expression help
Hey,
Does that mean, do I need to change in the Name of the object and in the short title property ..selecting as the regular expression and giving ".*" over there? i tried giving this expression at both places but its not working the code is looking like OracleFormWindow(".*").OracleButton("Service").Click and again it gives me the same error. Thanks |
|||
|
01-22-2010, 07:15 PM
Post: #6
|
|||
|
|||
|
RE: Regular expression help
If "ADANE,EUTINIO" value would remains constant means then try to Regularize the 'OracleFormWindow' Object's property value in Object Repository as given below.
Code: OracleFormWindow("ADANE,EUTINIO.*").OracleButton("Service").ClickNever limit your challenges , Challenge your limits |
|||
|
02-19-2010, 12:43 AM
Post: #7
|
|||
|
|||
|
RE: Regular expression help
Friend
The regulate the expression level is not encoded, attach it to the repository .. |
|||
|
« 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




