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
How will you check that your test cases covered all the requirements?
tell me abt a time when u had to go above &beyind the call of duty to get the job done
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
How you can find length of array in qtp?
can i compare two databases using QTP ?
what is actually contain test report? can anybody post the test report
i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button
How do you synchronization point through DP?
What are the challenges you faced during you entire life automation ?
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
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
what is profile tool?
How you can find the absolute value of the number in qtp?