get the order no from the following orderdetails
orderstring="ORD13456PNR"
eg:13456
Answer Posted / mdbasha7862@gmail.com
orderstring="ORD13456PNR"
'we can use mid function
string1=mid(orderstring,3,5)
msgbox (string1)
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What are the views available in quicktest professional (qtp)?
On what document base Descriptive programming is written if build is not yet ready ?
How you can delete excel file in qtp?
How to start recording using quicktest professional?
Define Environment Variable in UFT and its uses?
how to evalute defects in QTP script?
What is the architecture of your project? Can any one answer for this question plz........
I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
How to use actions in qtp ?
How do you know the location Id of an object if you know its index id?
Explain the differences between table and db checkpoints?
When using descriptive programming?
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
How would you export a script from one pc to another in qtp?