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
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
How you can find the absolute value of the number in qtp?
Write a QTP script to enter a keyword in to Google search engine?
what type of automation is follwed in the project?
What is expert view and keyword view?
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?
what is the difference between IE & Netscape in web testing on a log in page
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
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
What is the Command used to start the QTP
Does Low-level recording capture mouse movements?
What are the factors on which script execution time is dependent?
Can U Explain about QTP tool from older version to latest version also its differences?
Describe synchronization point.