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
No Answer is Posted For this Question
Be the First to Post Answer
With out using the task manager,how to close the application using vbscript and what is the statement?
how to get column count in datatable
HOW TO DO THE BATCH TESTING USING QTP?
Please explain how to open with notepad of saved html file by right click option using QTP
what ar the challenges do we face while testing webbased applications using the automation tool qtp or any?
who is developed QTP ? is it from Mecury or HP
How to automate the windows dialog box which is coming in the run mode? Whenever I run my scripts,I am getting dialog box ( for ex: Pls enter zipcode" eventhough I already entered the value,the dialog box pops up).I need to click it. Pls give some idea-How to automate the dialog box which is pop up in the runtime.
How to capture screen shots when an error occurs?
What is the "Release Notes", what it cosists? Key components in Release Notes ?
Set DR= CreateObject("Mercury.DeviceReplay")
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.