QTP Interview Questions
Questions Answers Views Company eMail

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

1324

If the object property is changing very frequently, what was your approach?

2 4215

How you know that a test case is a regression test case

1 3047

What is ObjectParamater?

CTS,

1565

how to test load test and block box testing an a web based application pls give ans briefly

Impiger,

1345

how to test use the quality control .how to verify the image verification

Wells Fargo,

2530

How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")

1414

Set DR= CreateObject("Mercury.DeviceReplay")

2 5726

how to identify the objects if application consists of objects that have same properties.

4 4255

Hi All, I need Code For how to export Pass\Fail status to excell sheet without using QC. Thanks Balaji

3 4661

Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?

2311

Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1364

what is exit and entry criteria of automation testing. any body wants a real time script,please mail to me. contactno;9986435766

2 4357

How to convert QTP's ObjectRepository.mdb file to xml file

1 6510

Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji

1310


Post New QTP Questions

Un-Answered Questions { QTP }

hi guys, pls tell me for testing institution training hub, hitech city is best or not?

1304


how will load the object during runtime?

1572


How many types of parameters are there?

533


What is the file extension of the code file and object repository file in QTP?

584


Can you write a script to check if the folder exists or not?

501






Connect to QC using AOM.

1223


how to test load test and block box testing an a web based application pls give ans briefly

1345


How does qtp recognize objects in aut?

574


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

1485


Should have experience in framework means?

1408


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

596


whare exactly we have to use functions and sub routain

1837


How will you check a web application for broken links using qtp?

540


hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com

1554


There is an excel file of 1 to 100 sheets how you will iterate through it?

517