How to use Regular Expressions in QTP? give an example.

Answer Posted / rt

Thanks for u r giving information..

Is This Answer Correct ?    4 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1468


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

658


Explain the difference between call to action and copy action?

523


what is defenetion of kiran can u tell me plz CVS, SVN

1572


An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?

573






How do you configure QTP AND Test director?

1499


How does quicktest professional (qtp) identifies the object in the application?

583


If I change the object name in one action will it be updated in all the actions? Or not?

602


What are the automation metrice in your project?

1715


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1430


Hi All, How to Compare two strings character by character in QTP

953


I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing

1485


Why do we use breakpoints in QTP?

582


what frame work you are following?

1527


Connect to QC using AOM.

1236