Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the check points can be inserted without recording?

1024


Is QTP supports Unix. If yes, then how the test automation is done?

2140


Explain the concept of object repository?

943


Write a QTP script to enter a keyword in to Google search engine?

1022


What is checkpoints for qtp?

917


How you can find the absolute value of the number in qtp?

956


What is qtpro? What is quick test pro? What is a quick test professional?

1051


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

1794


wht type of User defined functions or Java Releated functions do we write in VB scripting

2197


What will be happen if i load object repository at run time, but it has already associated.

1720


Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work

1881


what is the diffrence bw qtp architectute and qtp framework?

1961


What is parameter in qtp?

1032


hi nani my doubt is how does qtp process metrix related to software process.

1932


How do you compare the structure of 2 tables in database and check whether they are similar using qtp.

1891