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...


Batch testing in howmany ways u perfrom in QTP

Answers were Sorted based on User's Feedback



Batch testing in howmany ways u perfrom in QTP..

Answer / santhosh

In Qtp especially for Batch testing we have only one tool
called TEstBatch Runner

start->QuicktestProfessional->tools->Testbatch Runner
then the Testbatch runner window will be opened and now add
all the QTP Testscripts by cliking on "Add" Button,after
adding all the test scripts go for "Run"button now all the
QTP testscripts which are in that batch will run

Is This Answer Correct ?    4 Yes 0 No

Batch testing in howmany ways u perfrom in QTP..

Answer / sandeep

Although this TEST BATCH RUNNER is good tool. Till it will
do following things

1 Open test

2 Run it

It will not do the settings like Adding functions.

Setting up the repository, recovery scenearios etc.

I think it is better to write VB Script which does
following taks.

1 Open Test
2 Link all functions,Object repositroy, recovery scenarios
etc.
3 Run test

This is more dynamic in nature. Even if new function in
your framework gets added till it is not a big issue.

Is This Answer Correct ?    0 Yes 0 No

Batch testing in howmany ways u perfrom in QTP..

Answer / nani4urs

Batch Testing can perform in 2 ways

1.Run Action name ,one iteration
we can use this command and we can run number tests one by
one.
the exit of first action is the base of second action.
eg: Run Test1, one iteration
Run Test2, one iteration

2.Test batch runner Tool.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

What are the various automation frameworks available in qtp?

0 Answers  


What is the use of Accessibility check point?

8 Answers   BirlaSoft,


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

0 Answers  


I want to export the datasheet to excel.Instead of total file it exports only data without headers.How to solve this problem?

1 Answers   FAI,


How do you script a nested loop in QTP? I am showing a snipet of my code. Any suggestions to help me get this to work would be great appreciated! STEP A - Customer Number: No loop - ISBN: Loop STEP B - Customer Number: Loop - ISBN: Nested Loop Here is the code I am using now. I am using i for the loop and j for the nested loop in STEP B of my script. =========================================== 'CREATE AN ADDITIONAL CUSTOMER Dim myNum, RowNum, RowCnt2, val2, total, i DataTable.ImportSheet "C:\QOE Data - UAT1.xls" ,"Data" ,"Global" RowCnt2 = DataTable.GetRowCount i = 1 DataTable.SetCurrentRow(i) ' Set row to one Do while Not i > RowCnt2 i=i+1 DataTable.SetNextRow MsgBox Datatable.Value("Customer_Num") Msgbox i Msgbox RowCnt2 If Not i > RowCnt2 then val2=datatable.Value("Customer_Num","Global") OracleFormWindow("Sales Order").SelectMenu "File->New" OracleFormWindow("Sales Order").OracleTabbedRegion("Order Information").OracleTextField("Customer Number").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Order Information").OracleTextField("Customer Number").Enter val2 End If 'CREATE SECOND ISBN LIST DataTable.ImportSheet "C:\QOE Data - UAT1.xls" ,"Data" ,"Global" Dim j, RowCnt3, val3 RowCnt3 = DataTable.GetRowCount For j = 1 To RowCnt3 DataTable.SetCurrentRow(i) ' datatable.getSheet("DataTable").setNextRow If Trim(DataTable("ISBN",dtGlobalSheet)) = "" Then j = j - 1 Exit For End If Next 'Define ISBN rows If RowCnt3 <> j Then RowCnt3 = j End If 'Loop through ISBN rows For j = 1 To RowCnt3 DataTable.SetCurrentRow(i) val3 = Datatable.Value("ISBN","Global") msgbox j If j = 1 Then OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item").Enter val3 else If j < 16 Then OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_"&i).SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_"&i).Enter val3 else If RowCnt1 => 16 Then OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").InvokeSoftkey "DOWN" OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").Enter val3 end if end if End If Next 'EXIT APP msgbox i loop Browser("Browser").Page("Oracle Applications 11i").Sync Browser("Browser").Close ========================================== It isn't working correctly in my nested loop in STEP B (for ISBN). Any ideas?? Thanks! SBsteve

0 Answers  


Could anyone please tell me one situation where you have used recovery scenarion in real time with an example?

4 Answers  


how to do regression testing in qtp? plz give ans with examples

6 Answers   TCS,


How to handle Java tree in QTP?

0 Answers  


how can i call an external action,which is not added external action of an action?

2 Answers   Ordain Solutions,


What is object spy in quicktest professional (qtp)?

0 Answers  


How is UFT 11.5 version different from UFT 12.0?

0 Answers  


What is the difference between Global and Local Data Sheets?

1 Answers  


Categories