I have action1, action2, action3 r there.my query is while
executing if i get any error in action1 i want exit from
here itself, otherwise execute action2, if i get any error
in action2 i want exit from hereitself, like this,what is
the method for this?
Answer Posted / kiran
first u need to capture error number if!=0 then u can use
exit test medthod
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the check points can be inserted without recording?
Is QTP supports Unix. If yes, then how the test automation is done?
Explain the concept of object repository?
Write a QTP script to enter a keyword in to Google search engine?
What is checkpoints for qtp?
How you can find the absolute value of the number in qtp?
What is qtpro? What is quick test pro? What is a quick test professional?
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
wht type of User defined functions or Java Releated functions do we write in VB scripting
What will be happen if i load object repository at run time, but it has already associated.
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
what is the diffrence bw qtp architectute and qtp framework?
What is parameter in qtp?
hi nani my doubt is how does qtp process metrix related to software process.
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.