WHAT IS THE DESCRIPTIVE programming when it is useful? &
when to use this ?

Answer Posted / sharads

Descriptive Programming used to bypass Object Repository.
Descriptive programming is used when we want to perform an
operation on an object that is not present in the object
repository. There can be various valid reason to do so.

There are two ways in which descriptive programming can be used

1. By giving the description in form of the string arguments.
2. By creating properties collection object for the description.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

please give me the code for doing retesting of gmail login page using functions so the function has to give the value

1548


What is keyword view?

566


Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this

2070


How the exception handling can be done using quicktest professional (qtp)?

573


Hi All, How to get repeated word in string . Thanks Balaji

943






What is the keyword view and expert view in qtp?

538


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

1340


When Recovery scenario actually starts while testing the application?

1549


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

595


Hi How to retrieve data from web element line by line?

1575


What is expert view and keyword view?

629


How to get Traceability matrix from TD?

682


What is the use of text output value in quicktest professional (qtp)?

604


Hi, How Accessibility checkpoint in QTP can be implemented in the test script?

1615


how to idetfy which test cases are automated?who will deside that plz tell me

1538