write a regular expression pattern for xyz?123?

Answer Posted / nagaveni n

case 1: xyz?123? - if xyz is varying then
regular expression pattern would be
Re = .*\?123\?

Case 2: xyz?123? - if 123 is varying then
regular expression patter would be
RE = xyz\?[0-9]*\?

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe synchronization point.

585


If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?

583


What is synchronization point in QTP?

682


Is qtp supports uni-code?

622


In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

1510






How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

1637


How to create runtime property for an object?

1456


What are the methods used in UFT to handle exceptions or run-time errors?

659


What is the purpose of loading qtp add-ins?

631


Explain object spy in qtp.

596


Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance

1545


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

1310


What are the things(properties, and other details) will be recorded while recording an object using normal recording?

1500


After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans

1688


What are the different types of checkpoints?

598