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

Answer Posted / pravati

x="Transaction 254689 has been successfully completed"
for i=1 to len(x)
y=mid(x,i,1)
if isnumeric(y) then
z=z & y
end if
next
msgbox z

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the diff between image and bitmap check point?

681


Can the user toggle between using Local OR and shared OR for the same action?

645


Why qtp always start action1 and does not start action?

709


How to capture all the data of a webtable, weblist and combolist using QTP?

2936


What are the automation metrice in your project?

1835






Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

2015


How do we analyze the checkpoint results?

684


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

583


when a test case is written how u test using qtp

1744


Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this

2161


What is the latest version of qtp?

681


why you have standardized functions? plzzz guys with real time exp. do answer

1517


hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this

1599


How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

1538


Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please

1615