what is advantage of descripting programming in QTP?
Answers were Sorted based on User's Feedback
Answer / test
Example:Using descriptive prog.. execution will be fast when we rush to complete 3000 cases to 3 days
In the same situation, if we use repository, it takes more time..
using descriptive execution speed will be more
Disadv: Re-engineering is a problem for desciptive
| Is This Answer Correct ? | 9 Yes | 0 No |
Before u understand the concept of descriptivness programming first of we need to understand behavior of qtp in normal progarming.in normal programming first qtp understand the scripting statement then decide what action need to perform on which object.then i will go to object repository then searching for information.so maintenance is easy.
in descripting language the objects are identified in test plane only.so main advantage is performance is good rather than descripting language.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / nitin sharma
Descriptive programming allows you to work with objects that
are not stored in object repository.For Example If we have
so many same name link in the application then we have no
option other than DP to find out their numbers and url.More
while DP is used when application is dynamic and object
description changes frequently.
| Is This Answer Correct ? | 1 Yes | 0 No |
Can anybody give the script of below things. 1. Add sheet 2. Adding columns 3. Set the values in that columns(In the rows) 4. Close the sheet 5. How can we create 3 sheets in one Excel sheet??
How to differentiate the webedit field like user name and password? Please tell any other best answer is ther
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
what is run action?
what is the advatages of merging of object repositories in Qtp9.0
hw to create a frame work in qtp..what are the basic steps
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
Plz write the code, function will take the parameter as month number, i.e., numerical value, but it returns the last day of the month in string (weekday). example: input: function parameter: 3(march) output: thursday
What are the technics follow in writing VB script?
How u will open the build automatically in QTP except using Systemutil.run command
The hybrid framework can be implemented for any application. Is it true?
i have read that "non-reusable actions can not be called in any other test".but in 'call to copy action' copies non-reusable action in other test also..can u pls help to understand this..