Currently my java code in RFT(Rational Functional Tester)
see Class RegularExpression and search for text "RegularExpression" this page on to use RegularExpression.
looks like
RegularExpression RegExp = new RegularExpression("eduId="+edu_id, false);
to = find(atDescendant(".documentName",RegExp));
Now I need to add another regular expression
RegularExpression RegExp2 = new RegularExpression("some_text", false);
and then I need to combine these two regular expressions using AND
something like RegularExpression RegExp_final = RegExp && RegExp2;
so I can use the final one in find command. to = find(atDescendant(".documentName",RegExp_final));
Could somebody help me with the syntax, how to write this down?
Sometimes I need to use one or the other regular expression and sometimes both of them together.