what is the syntax for regular expression in QTP?
how to create user defined functions in QTP?

Answer Posted / saravanaraja

Regular Expression is used only for the dynamically
changeable element like Time.

This is the Regular Expression for Time ("1[012]|[1-9]):[0-
5][0-9](am|pm")

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how you can find length of array in qtp?

580


what frame work you are following?

1501


What is checkpoint in qtp?

521


What is quicktest professional window?

535


Explain the difference between data driven testing and parameterization ?

549






What are the types of object repository?

556


What are the advantages of qtp?

552


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?

1447


Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?

1503


What is the default add-ins in qtp?

533


How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538

3580


Explain quicktest professional (qtp) testing process?

514


What is the difference between analog and low level recording?

581


What are table and db checkpoints?

567


Describe how Smart Identification is used

1670