For ex we are doing automate testing in that can we do some
part of application recording, some part descriptive
programing and some part general VB scripting like
that .............

Answer Posted / anonymous

Depends on scenario..
If objects are not being recognized by qtp, we should use
descriptive programme.
1. We can directly record.
2.Then modify those scripts- this is enhancements. We can
also directly write scripts by first creating the shared
repository. Modification is very must for any script.

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 different recording modes?

562


give me the code to save all messages of inbox of gmail into a folder and notepad

1623


To which environments does quicktest professional supports?

542


how can i pass a "cript"as a parameter in to a function

1460


Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?

1526






What is optional step in qtp? How you can add optional step in qtp?

534


What are the key points to create a framework in QTP for oracle forms?

1811


how can i call function (which has link with excell sheet at a remote location) within another function

1579


What is reusable action?

605


suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?

1328


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

1338


What are the different types of recording modes in qtp? Which will be used when?

571


Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u

1379


What are the different types of qtp test assets and their extensions?

599


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

1501