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
hey g,
set the regular expression pattern like "[a-zA-Z],[a-zA-Z]"
and let me know how it goes.
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".
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 ".*"
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
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").Click
Friend
The regulate the expression level is not encoded, attach it to the repository ..