A dialog is diplays " Transaction 254689 has been
successfully completed" How to get the transaction ID from
the message ?

Answer Posted / lakshmi

Capture the text into a variable by using GETROPROPERTY.

So now

Str="Transaction 254689 has been successfully completed"
Arr=Split(Str," ")
for i=0 to ubound(Arr)

if IsNumeric(Arr(i))=true then
Msgbox "Transaction ID is "& Arr(i)
End if
Next

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

We stored into the objects OR and then write the scripting

1546


Explain the concept of how quicktest professional (qtp) identifies object?

578


why should we give deliver good quality software?

1631


How will you find the current time of the remote machine using QTP script?

601


Tell me one scenario, the complex functionality you have automated in your project?

1479






Which functionalities of QTP used in banking project?

1931


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

535


What are the different recording modes?

564


How many tabs are available to view your test in a test pane and what are they?

566


What do you to script when objects are removed from application?

618


How many ways we can parameterize data in quicktest professional?

564


Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?

1514


can u explain relative path architecture framework in qtp?

1563


1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?

1592


Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution

1669