QTP Interview Questions
Questions Answers Views Company eMail

How to make an Action as reusable?

1 5628

How to parameterize in QTP?

4 21628

How to add Dynamic Objects to Object repository?

5 9608




How many types of Recordings are there in QTP and what are they?

First Indian Corporation, Dangote,

7 17151

What is Virtual object wizard in QTP?

4 9333

How u perform Batch Program in QTP?

3 5082

Use of Debug Viewer?

1 6143

How to connect to data base?

2 4400




What is output value?

Ordain Solutions,

3 5286

Tell me the situations where we will use Data Driven?

2 4441

Explain about reusable actions?

IBM,

3 6314

difference Between Call Run action and copy of action?

Quest,

3 10807

What are the enhancements u did after recording ur script?

3 4481

How you handles Pop-up windows which are Dynamically changing in Runtime?

2 4716

What is the current version of QTP?

19 13708


Post New QTP Questions






Un-Answered Questions { QTP }

Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance

726


distinguish between old version and new version QTP features.

890


how to evalute defects in QTP script?

695


How to test the login page in different ways in automation testing and i need code?

581


How would you directly trigger javascript in a test?

717






Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.

2638


what is test scheduleling?

990


i have asked earlier only one question how to test web application using QTp plz send me the answer quickly

921


Hello friends..... On which areas of an application we can not test with QTP

811


If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?

664


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

5254


images are dynamically changes how to compare two images with out using the bitmap

1239


explain how to write vb script in qtp?when will you write own script?

1132


What are the challenges u faced in testing with crm domain? How u overcome with?

739


how to test Web application using QTP software

575