Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

1908


hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)

1814


How you can find the absolute value of the number in qtp?

945


Write a QTP script to enter a keyword in to Google search engine?

1008


what type of automation is follwed in the project?

1882


What is expert view and keyword view?

1061


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

2022


what is the difference between IE & Netscape in web testing on a log in page

2253


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3853


How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

1980


What is the Command used to start the QTP

1899


Does Low-level recording capture mouse movements?

991


What are the factors on which script execution time is dependent?

1008


Can U Explain about QTP tool from older version to latest version also its differences?

1931


Describe synchronization point.

1082